]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64: Remove PPC64 special case for cputime accounting default
authorNicholas Piggin <npiggin@gmail.com>
Fri, 2 Sep 2022 08:53:15 +0000 (18:53 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 5 Sep 2022 04:14:27 +0000 (14:14 +1000)
commit59505b285754ec9e451228b7509818bfb1b50f33
tree56cc34a9694827e619e3c03e43197989b91deb23
parent1636a7aa179b52109742bcb0f398ea0a6c59026b
powerpc/64: Remove PPC64 special case for cputime accounting default

Distro kernels tend to be moving to VIRT_CPU_ACCOUNTING_GEN, and there
is not much reason why PPC64 should be special here. Remove the special
case and make the ppc64 and pseries defconfigs use GEN accounting
(others will use TICK, as-per Kconfig defaults).

VIRT_CPU_ACCOUNTING_NATIVE does provide scaled vtime and stolen time
apportioned between system and user time, and vtime accounting is not
unconditionally enabled, and possibly other things. But it would be
better at this point to extend GEN to cover important missing features
rather than directing users back to a less used option.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220902085316.2071519-4-npiggin@gmail.com
arch/powerpc/configs/ppc64_defconfig
arch/powerpc/configs/pseries_defconfig
init/Kconfig