[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20211110165636.GB300656@lothringen>
Date: Wed, 10 Nov 2021 17:56:36 +0100
From: Frederic Weisbecker <frederic@...nel.org>
To: Valentin Schneider <valentin.schneider@....com>
Cc: Mike Galbraith <efault@....de>, Marco Elver <elver@...gle.com>,
linux-kernel@...r.kernel.org,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...nel.org>
Subject: Re: [PATCH] sched: Split preemption model selection between DYNAMIC
& !DYNAMIC
On Wed, Nov 10, 2021 at 02:45:45PM +0000, Valentin Schneider wrote:
> diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
> index 7896d30d90f7..3b3226ffbafa 100644
> --- a/kernel/trace/trace.c
> +++ b/kernel/trace/trace.c
> @@ -4271,11 +4271,11 @@ print_trace_header(struct seq_file *m, struct trace_iterator *iter)
> entries,
> total,
> buf->cpu,
> -#if defined(CONFIG_PREEMPT_NONE)
> +#if defined(CONFIG_PREEMPT_NONE_BUILD)
> "server",
> -#elif defined(CONFIG_PREEMPT_VOLUNTARY)
> +#elif defined(CONFIG_PREEMPT_VOLUNTARY_BUILD)
> "desktop",
> -#elif defined(CONFIG_PREEMPT)
> +#elif defined(CONFIG_PREEMPT_BUILD)
> "preempt",
> #elif defined(CONFIG_PREEMPT_RT)
> "preempt_rt",
I also found those:
arch/powerpc/kernel/interrupt.c: if (IS_ENABLED(CONFIG_PREEMPT)) {
arch/powerpc/kernel/traps.c: IS_ENABLED(CONFIG_PREEMPT) ? " PREEMPT" : "",
Powered by blists - more mailing lists