diff options
author | Peter Zijlstra <peterz@infradead.org> | 2016-11-14 18:06:19 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-02-10 09:04:19 +0100 |
commit | 10383aea2f445bce9b2a2b308def08134b438c8e (patch) | |
tree | 64fea6972561d5a8899c2da53646771e65507734 /scripts/gdb/linux/utils.py | |
parent | f405df5de3170c00e5c54f8b7cf4766044a032ba (diff) |
kref: Implement 'struct kref' using refcount_t
Use the refcount_t 'atomic' type to implement 'struct kref', this makes kref
more robust by bringing saturation semantics.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions