[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tswmetugmdpeu663sdyx2pb6aawhiajb64g4gmjjup2riz23ha@r6vsgo5tdv2w>
Date: Mon, 17 Feb 2025 13:51:39 +0100
From: Michal Koutný <mkoutny@...e.com>
To: Jin Guojie <guojie.jin@...il.com>
Cc: cgroups@...r.kernel.org, linux-kernel@...r.kernel.org,
Waiman Long <longman@...hat.com>
Subject: Re: [PATCH v3] cgroup/cpuset: fmeter_getrate() returns 0 when
memory_pressure disabled
On Mon, Feb 17, 2025 at 07:15:00AM +0000, Jin Guojie <guojie.jin@...il.com> wrote:
> In the current kernel, the variable cpuset_memory_pressure_enabled is
> not actually used。
This statement is weird, it's generally not true and not false without
further context.
> This patch modifies fmeter_getrate() to determine whether to return 0
> based on cpuset_memory_pressure_enabled.
>
> Signed-off-by: Jin Guojie <guojie.jin@...il.com>
> Suggested-by: Michal Koutný <mkoutny@...e.com>
I'm not sure I'd still suggest this :-) but
Acked-by: Michal Koutný <mkoutny@...e.com>
> Suggested-by: Waiman Long <longman@...hat.com>
> ---
> kernel/cgroup/cpuset-v1.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)
Powered by blists - more mailing lists