diff options
author | Will Deacon <[email protected]> | 2019-11-21 11:58:56 +0000 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-11-25 09:15:06 +0100 |
commit | 77e9971c79c29542ab7dd4140f9343bf2ff36158 (patch) | |
tree | 8d53b196b70d9a2dfb6ab7b55e650a2d5e9c402e /tools/perf/util/trace-event-scripting.c | |
parent | 7221762c48c6bbbcc6cc51d8b803c06930215e34 (diff) |
locking/refcount: Move the bulk of the REFCOUNT_FULL implementation into the <linux/refcount.h> header
In an effort to improve performance of the REFCOUNT_FULL implementation,
move the bulk of its functions into linux/refcount.h. This allows them
to be inlined in the same way as if they had been provided via
CONFIG_ARCH_HAS_REFCOUNT.
Signed-off-by: Will Deacon <[email protected]>
Reviewed-by: Ard Biesheuvel <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Tested-by: Hanjun Guo <[email protected]>
Cc: Ard Biesheuvel <[email protected]>
Cc: Elena Reshetova <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions