diff options
author | Dmitry Vyukov <[email protected]> | 2017-06-17 11:15:27 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-06-28 18:55:55 +0200 |
commit | ba1c9f83f6330a34cc77ef989e183f54c4fe732e (patch) | |
tree | d26580678c64a739ce8b513e1e0bc7a66ea9379b /tools/perf/scripts/python/compaction-times.py | |
parent | fd25d19f6b8da315332bb75936605fb45d3ea981 (diff) |
locking/atomic/x86: Un-macro-ify atomic ops implementation
CPP turns perfectly readable code into a much harder to read syntactic soup.
Ingo suggested to write them out as-is in C and ignore the higher linecount.
Do this.
(As a side effect, plain C functions will be easier to KASAN-instrument as well.)
Suggested-by: Ingo Molnar <[email protected]>
Signed-off-by: Dmitry Vyukov <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Andrey Ryabinin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/a35b983dd3be937a3cf63c4e2db487de2cdc7b8f.1497690003.git.dvyukov@google.com
[ Beautified the C code some more and twiddled the changelog
to mention the linecount increase and the KASAN benefit. ]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions