2022-01-14 14:16:05

by Marcel Ziswiler

[permalink] [raw]
Subject: [PATCH v2 03/11] arm64: defconfig: enable taskstats configuration

From: Marcel Ziswiler <[email protected]>

Enable CONFIG_TASKSTATS which is required for CONFIG_TASK_XACCT (and
subsequently CONFIG_TASK_IO_ACCOUNTING). Previously, taskstats got
pulled in by KVM but that got changed in commit 63b3f96e1a98
("kvm: Select SCHED_INFO instead of TASK_DELAY_ACCT").

Signed-off-by: Marcel Ziswiler <[email protected]>

---

Changes in v2:
- New patch following full defconfig analysis as requested by Krzysztof.

arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index cc5d3ba166b1..dec189229c0a 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -7,6 +7,7 @@ CONFIG_PREEMPT=y
CONFIG_IRQ_TIME_ACCOUNTING=y
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_BSD_PROCESS_ACCT_V3=y
+CONFIG_TASKSTATS=y
CONFIG_TASK_XACCT=y
CONFIG_TASK_IO_ACCOUNTING=y
CONFIG_IKCONFIG=y
--
2.33.1



2022-01-16 06:47:28

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH v2 03/11] arm64: defconfig: enable taskstats configuration

On 14/01/2022 15:14, Marcel Ziswiler wrote:
> From: Marcel Ziswiler <[email protected]>
>
> Enable CONFIG_TASKSTATS which is required for CONFIG_TASK_XACCT (and
> subsequently CONFIG_TASK_IO_ACCOUNTING). Previously, taskstats got
> pulled in by KVM but that got changed in commit 63b3f96e1a98
> ("kvm: Select SCHED_INFO instead of TASK_DELAY_ACCT").
>
> Signed-off-by: Marcel Ziswiler <[email protected]>
>
> ---
>
> Changes in v2:
> - New patch following full defconfig analysis as requested by Krzysztof.
>

Nice!

Reviewed-by: Krzysztof Kozlowski <[email protected]>


Best regards,
Krzysztof