[PATCH v2 0/3] Lazy preemption leftovers

From: Sebastian Andrzej Siewior
Date: Mon Oct 21 2024 - 11:13:17 EST


This is a followup to PeterZ'
https://lore.kernel.org/20241007074609.447006177@xxxxxxxxxxxxx

in PREEMPT_RT we had initially "LAZY preempt" this then morphed into
PREEMPT_AUTO and is becoming "Lazy preemption".
These are the tracing bits from that time that were used up to
PREEMPT_AUTO. With RT's RiscV support, they also contributed
PREEMPT_AUTO support which I just updated to current edition.

I used to have ARM* and POWERPC*, too support for the "LAZY preempt" but
this relied on assembly support and I dropped this during the switch to
PREEMPT_AUTO.

v1…v2 https://lore.kernel.org/all/20241009105709.887510-1-bigeasy@xxxxxxxxxxxxx :
- Added IS_ENABLED(CONFIG_ARCH_HAS_PREEMPT_LAZY) to
tracing_gen_ctx_irq_test() to only record lazy flags if the
architecture supports it (Ankur Arora).

- Added a bit of Documentation for the additional context status
(Shrikanth Hegde)

Sebastian