diff options
author | 2022-02-14 16:52:10 +0000 | |
---|---|---|
committer | 2022-02-19 11:11:07 +0100 | |
commit | 4c7485584d48f60b1e742c7c6a3a1fa503d48d97 (patch) | |
tree | 55ff735a28cb77815f41d676d027fed90970470f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | sched/isolation: Split housekeeping cpumask per isolation features (diff) | |
download | linux-dev-4c7485584d48f60b1e742c7c6a3a1fa503d48d97.tar.xz linux-dev-4c7485584d48f60b1e742c7c6a3a1fa503d48d97.zip |
sched/preempt: Move PREEMPT_DYNAMIC logic later
The PREEMPT_DYNAMIC logic in kernel/sched/core.c patches static calls
for a bunch of preemption functions. While most are defined prior to
this, the definition of cond_resched() is later in the file, and so we
only have its declarations from include/linux/sched.h.
In subsequent patches we'd like to define some macros alongside the
definition of each of the preemption functions, which we can use within
sched_dynamic_update(). For this to be possible, the PREEMPT_DYNAMIC
logic needs to be placed after the various preemption functions.
As a preparatory step, this patch moves the PREEMPT_DYNAMIC logic after
the various preemption functions, with no other changes -- this is
purely a move.
There should be no functional change as a result of this patch.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Acked-by: Frederic Weisbecker <frederic@kernel.org>
Link: https://lore.kernel.org/r/20220214165216.2231574-2-mark.rutland@arm.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions