[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALvZod7wqfy63cis_v_D_9gpOS=3A2cS5J-LHq0WUrhVQOum8Q@mail.gmail.com>
Date: Tue, 13 Feb 2024 09:01:48 -0800
From: Shakeel Butt <shakeelb@...gle.com>
To: Johannes Weiner <hannes@...xchg.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>, Michal Hocko <mhocko@...nel.org>,
Roman Gushchin <roman.gushchin@...ux.dev>, linux-mm@...ck.org, cgroups@...r.kernel.org,
linux-kernel@...r.kernel.org, Jonas Schäfer <jonas@...licki.name>,
Narcis Garcia <debianlists@...iu.net>, Yosry Ahmed <yosryahmed@...gle.com>
Subject: Re: [PATCH] mm: memcontrol: clarify swapaccount=0 deprecation warning
On Tue, Feb 13, 2024 at 12:16 AM Johannes Weiner <hannes@...xchg.org> wrote:
>
> The swapaccount deprecation warning is throwing false positives. Since
> we deprecated the knob and defaulted to enabling, the only reports
> we've been getting are from folks that set swapaccount=1. While this
> is a nice affirmation that always-enabling was the right choice, we
> certainly don't want to warn when users request the supported mode.
>
> Only warn when disabling is requested, and clarify the warning.
>
> Fixes: b25806dcd3d5 ("mm: memcontrol: deprecate swapaccounting=0 mode")
> Cc: stable@...r.kernel.org
> Reported-by: "Jonas Schäfer" <jonas@...licki.name>
> Reported-by: Narcis Garcia <debianlists@...iu.net>
> Suggested-by: Yosry Ahmed <yosryahmed@...gle.com>
> Signed-off-by: Johannes Weiner <hannes@...xchg.org>
Acked-by: Shakeel Butt <shakeelb@...gle.com>
Powered by blists - more mailing lists