don't use atomic_*_nv if you discard the return value
The _nv atomic functions are more complex and slower than their simpler non-_vn cousins. If you don't care about the return value, just use the simpler and faster functions.
Updated by Electric Monk about 7 years ago
- Status changed from New to Closed
- % Done changed from 90 to 100
commit 640c1670a105457bb0040e8e11037b53ab6ebcfa Author: Josef 'Jeff' Sipek <email@example.com> Date: 2014-08-12T18:36:39.000Z 5047 don't use atomic_*_nv if you discard the return value Reviewed by: Garrett D'Amore <firstname.lastname@example.org> Reviewed by: Jason King <email@example.com> Reviewed by: Matthew Ahrens <firstname.lastname@example.org> Approved by: Robert Mustacchi <email@example.com>