]> Gentwo Git Trees - linux/.git/commit
Kconfig: move ARCH_HAS_OPTIMIZED_POLL to arch/Kconfig
authorJoao Martins <joao.m.martins@oracle.com>
Wed, 25 Sep 2024 23:24:17 +0000 (16:24 -0700)
committerChristoph Lameter <cl@gentwo.org>
Wed, 9 Oct 2024 02:06:42 +0000 (19:06 -0700)
commitaf7767e0612ae7c1d42f841823f875fa85157a21
tree8679c456476b1f8c916f6bcff46ec523d2c6b3b1
parent91cee31ba0502787464725baab59901c43caff76
Kconfig: move ARCH_HAS_OPTIMIZED_POLL to arch/Kconfig

ARCH_HAS_OPTIMIZED_POLL gates selection of polling while idle in
poll_idle(). Move the configuration option to arch/Kconfig to allow
non-x86 architectures to select it.

Note that ARCH_HAS_OPTIMIZED_POLL should probably be exclusive with
GENERIC_IDLE_POLL_SETUP (which controls the generic polling logic in
cpu_idle_poll()). However, that would remove boot options
(hlt=, nohlt=). So, leave it untouched for now.

Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
Signed-off-by: Mihai Carabas <mihai.carabas@oracle.com>
Signed-off-by: Ankur Arora <ankur.a.arora@oracle.com>
Acked-by: Will Deacon <will@kernel.org>
Tested-by: Haris Okanovic <harisokn@amazon.com>
Tested-by: Misono Tomohiro <misono.tomohiro@fujitsu.com>
arch/Kconfig
arch/x86/Kconfig