Re: [Patch v4 08/18] sched: Deprecate sched_smt_present and use cpu_smt_enabled static key

From: Thomas Gleixner
Date: Sat Nov 03 2018 - 14:22:34 EST


Tim,

On Tue, 30 Oct 2018, Tim Chen wrote:

> The cpu_smt_enabled static key serves identical purpose as cpu_smt_enabled

That doesn't make any sense.

> to enable SMT specific code.
>
> This patch replaces sched_smt_present in the scheduler with
> cpu_smt_enabled and deprecate sched_smt_present.

It's not deprecating it, it's replacing and removing it and thereby
breaking all architectures which select SCHED_SMT except x86.

Thanks,

tglx