diff options
| author | Sebastian Andrzej Siewior <[email protected]> | 2018-08-21 21:55:31 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2018-08-22 10:52:46 -0700 |
| commit | e58dd0de5eadf145895b13451a1fef8ef03946eb (patch) | |
| tree | f5db856cd6e69abf35e136e8c2666469ac6b51d3 /tools/perf/scripts/python/netdev-times.py | |
| parent | cedc5b6aab493f6b1b1d381dccc0cc082da7d3d8 (diff) | |
bdi: use refcount_t for reference counting instead atomic_t
refcount_t type and corresponding API should be used instead of atomic_t
when the variable is used as a reference counter. This permits avoiding
accidental refcounter overflows that might lead to use-after-free
situations.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Suggested-by: Peter Zijlstra <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions