diff options
author | 2017-06-17 11:15:27 +0200 | |
---|---|---|
committer | 2017-06-28 18:55:55 +0200 | |
commit | ba1c9f83f6330a34cc77ef989e183f54c4fe732e (patch) | |
tree | d26580678c64a739ce8b513e1e0bc7a66ea9379b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | locking/refcount: Create unchecked atomic_t implementation (diff) | |
download | linux-dev-ba1c9f83f6330a34cc77ef989e183f54c4fe732e.tar.xz linux-dev-ba1c9f83f6330a34cc77ef989e183f54c4fe732e.zip |
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 <mingo@kernel.org>
Signed-off-by: Dmitry Vyukov <dvyukov@google.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: kasan-dev@googlegroups.com
Cc: will.deacon@arm.com
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 <mingo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions