diff options
author | Mark Rutland <[email protected]> | 2018-07-11 10:36:07 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-07-13 15:23:25 +0200 |
commit | afed7bcf9487bb28e2e2b016a195085c07416c0b (patch) | |
tree | 6735fbcd8b0f894fe2727b41ab734b0446fa179e /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 75a040ff14d9a99fc041f5e1d8f09541cab13ba4 (diff) |
locking/refcount: Always allow checked forms
In many cases, it would be useful to be able to use the full
sanity-checked refcount helpers regardless of CONFIG_REFCOUNT_FULL,
as this would help to avoid duplicate warnings where callers try to
sanity-check refcount manipulation.
This patch refactors things such that the full refcount helpers were
always built, as refcount_${op}_checked(), such that they can be used
regardless of CONFIG_REFCOUNT_FULL. This will allow code which *always*
wants a checked refcount to opt-in, avoiding the need to duplicate the
logic for warnings.
There should be no functional change as a result of this patch.
Signed-off-by: Mark Rutland <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Acked-by: Kees Cook <[email protected]>
Acked-by: Will Deacon <[email protected]>
Cc: Boqun Feng <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions