diff options
author | 2020-11-13 15:02:17 +0100 | |
---|---|---|
committer | 2020-11-23 10:31:06 +0100 | |
commit | 15115830c88751ba83068aa37da996602ddc6a61 (patch) | |
tree | c50e9022bf334435e5aff32d176eba8acab3e815 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | irqstat: Move declaration into asm-generic/hardirq.h (diff) | |
download | wireguard-linux-15115830c88751ba83068aa37da996602ddc6a61.tar.xz wireguard-linux-15115830c88751ba83068aa37da996602ddc6a61.zip |
preempt: Cleanup the macro maze a bit
Make the macro maze consistent and prepare it for adding the RT variant for
BH accounting.
- Use nmi_count() for the NMI portion of preempt count
- Introduce in_hardirq() to make the naming consistent and non-ambiguos
- Use the macros to create combined checks (e.g. in_task()) so the
softirq representation for RT just falls into place.
- Update comments and move the deprecated macros aside
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Link: https://lore.kernel.org/r/20201113141733.864469886@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions