aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2024-09-08 16:34:55 -0600
committerJens Axboe <[email protected]>2024-09-08 16:43:57 -0600
commit0e0bcf07ec5b305ce7612385b06580dcbe5bc6a5 (patch)
tree3538f3afae2e5887eb2c3383d8f958f613e48e7b /lib/netdev-notifier-error-inject.c
parentc9f9ce65c2436879779d39c6e65b95c74a206e49 (diff)
io_uring/eventfd: move refs to refcount_t
atomic_t for the struct io_ev_fd references and there are no issues with it. While the ref getting and putting for the eventfd code is somewhat performance critical for cases where eventfd signaling is used (news flash, you should not...), it probably doesn't warrant using an atomic_t for this. Let's just move to it to refcount_t to get the added protection of over/underflows. Link: https://lore.kernel.org/lkml/[email protected]/ Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions