* swapaccount= commandline option
@ 2024-02-11 9:33 Narcis Garcia
2024-02-12 22:37 ` Yosry Ahmed
0 siblings, 1 reply; 10+ messages in thread
From: Narcis Garcia @ 2024-02-11 9:33 UTC (permalink / raw)
To: linux-mm
Hello,
I read this warning on Linux 6.1 boot:
The swapaccount= commandline option is deprecated. Please report your
usecase to linux-mm@kvack.org if you depend on this functionality.
And I want to know if this impacts on LinuX Containers (LXC) swap
accounting.
Thank you.
--
Narcis Garcia
__________
I'm using this dedicated address because personal addresses aren't
masked enough at this mail public archive. Public archive administrator
should remove and omit any @, dot and mailto combinations against
automated addresses collectors.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: swapaccount= commandline option
2024-02-11 9:33 swapaccount= commandline option Narcis Garcia
@ 2024-02-12 22:37 ` Yosry Ahmed
2024-02-13 7:01 ` Narcis Garcia
0 siblings, 1 reply; 10+ messages in thread
From: Yosry Ahmed @ 2024-02-12 22:37 UTC (permalink / raw)
To: Narcis Garcia
Cc: linux-mm, Johannes Weiner, Shakeel Butt, Michal Hocko, Roman Gushchin
On Sun, Feb 11, 2024 at 1:33 AM Narcis Garcia <debianlists@actiu.net> wrote:
>
> Hello,
>
> I read this warning on Linux 6.1 boot:
> The swapaccount= commandline option is deprecated. Please report your
> usecase to linux-mm@kvack.org if you depend on this functionality.
>
> And I want to know if this impacts on LinuX Containers (LXC) swap
> accounting.
swapaccount= was deprecated in the sense that it is always on now
(i.e. you cannot do swapaccount=0 anymore). I believe you are using
swapaccount=1 and want to make sure that swap accounting will still
work with v6.1, right?
This is the second question we have had about this message [1]. I
think we need to clarify the warning (and perhaps backport to stable
kernels).
[1]https://lore.kernel.org/linux-mm/2593755.Xrv9ptJ69j@sinistra.local/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: swapaccount= commandline option
2024-02-12 22:37 ` Yosry Ahmed
@ 2024-02-13 7:01 ` Narcis Garcia
2024-02-13 8:06 ` Yosry Ahmed
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Narcis Garcia @ 2024-02-13 7:01 UTC (permalink / raw)
To: linux-mm; +Cc: Johannes Weiner, Michal Hocko, Roman Gushchin
El 12/2/24 a les 23:37, Yosry Ahmed ha escrit:
> On Sun, Feb 11, 2024 at 1:33 AM Narcis Garcia <debianlists@actiu.net> wrote:
>>
>> Hello,
>>
>> I read this warning on Linux 6.1 boot:
>> The swapaccount= commandline option is deprecated. Please report your
>> usecase to linux-mm@kvack.org if you depend on this functionality.
>>
>> And I want to know if this impacts on LinuX Containers (LXC) swap
>> accounting.
>
> swapaccount= was deprecated in the sense that it is always on now
> (i.e. you cannot do swapaccount=0 anymore). I believe you are using
> swapaccount=1 and want to make sure that swap accounting will still
> work with v6.1, right?
>
> This is the second question we have had about this message [1]. I
> think we need to clarify the warning (and perhaps backport to stable
> kernels).
>
> [1]https://lore.kernel.org/linux-mm/2593755.Xrv9ptJ69j@sinistra.local/
Thank you for answering this question, and sure this clarification is
needed both in documentation and warning message.
I've found deprecation message was commited on 26 Sep 2022.
From what Linux version release, this deprecation is included?
I suggest this for setup_swap_account() code:
pr_warn_once("The swapaccount= commandline option is deprecated. "
"Swap accounting is always on. "
"Please report your usecase to linux-mm@kvack.org if you "
"depend on this functionality.\n");
--
Narcis Garcia
__________
I'm using this dedicated address because personal addresses aren't
masked enough at this mail public archive. Public archive administrator
should remove and omit any @, dot and mailto combinations against
automated addresses collectors.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: swapaccount= commandline option
2024-02-13 7:01 ` Narcis Garcia
@ 2024-02-13 8:06 ` Yosry Ahmed
2024-02-13 8:06 ` Michal Hocko
2024-02-13 8:18 ` Johannes Weiner
2 siblings, 0 replies; 10+ messages in thread
From: Yosry Ahmed @ 2024-02-13 8:06 UTC (permalink / raw)
To: Narcis Garcia; +Cc: linux-mm, Johannes Weiner, Michal Hocko, Roman Gushchin
On Mon, Feb 12, 2024 at 11:02 PM Narcis Garcia <debianlists@actiu.net> wrote:
>
> El 12/2/24 a les 23:37, Yosry Ahmed ha escrit:
> > On Sun, Feb 11, 2024 at 1:33 AM Narcis Garcia <debianlists@actiu.net> wrote:
> >>
> >> Hello,
> >>
> >> I read this warning on Linux 6.1 boot:
> >> The swapaccount= commandline option is deprecated. Please report your
> >> usecase to linux-mm@kvack.org if you depend on this functionality.
> >>
> >> And I want to know if this impacts on LinuX Containers (LXC) swap
> >> accounting.
> >
> > swapaccount= was deprecated in the sense that it is always on now
> > (i.e. you cannot do swapaccount=0 anymore). I believe you are using
> > swapaccount=1 and want to make sure that swap accounting will still
> > work with v6.1, right?
> >
> > This is the second question we have had about this message [1]. I
> > think we need to clarify the warning (and perhaps backport to stable
> > kernels).
> >
> > [1]https://lore.kernel.org/linux-mm/2593755.Xrv9ptJ69j@sinistra.local/
>
>
> Thank you for answering this question, and sure this clarification is
> needed both in documentation and warning message.
> I've found deprecation message was commited on 26 Sep 2022.
> From what Linux version release, this deprecation is included?
I think v6.1 is the first kernel with the deprecation.
>
> I suggest this for setup_swap_account() code:
> pr_warn_once("The swapaccount= commandline option is deprecated. "
> "Swap accounting is always on. "
> "Please report your usecase to linux-mm@kvack.org if you "
> "depend on this functionality.\n");
Sure. Would you like to send a patch or would you like me to take care of it?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: swapaccount= commandline option
2024-02-13 7:01 ` Narcis Garcia
2024-02-13 8:06 ` Yosry Ahmed
@ 2024-02-13 8:06 ` Michal Hocko
2024-02-13 8:09 ` Yosry Ahmed
2024-02-13 8:23 ` Johannes Weiner
2024-02-13 8:18 ` Johannes Weiner
2 siblings, 2 replies; 10+ messages in thread
From: Michal Hocko @ 2024-02-13 8:06 UTC (permalink / raw)
To: Narcis Garcia; +Cc: linux-mm, Johannes Weiner, Roman Gushchin
On Tue 13-02-24 08:01:37, Narcis Garcia wrote:
> El 12/2/24 a les 23:37, Yosry Ahmed ha escrit:
> > On Sun, Feb 11, 2024 at 1:33 AM Narcis Garcia <debianlists@actiu.net> wrote:
> > >
> > > Hello,
> > >
> > > I read this warning on Linux 6.1 boot:
> > > The swapaccount= commandline option is deprecated. Please report your
> > > usecase to linux-mm@kvack.org if you depend on this functionality.
> > >
> > > And I want to know if this impacts on LinuX Containers (LXC) swap
> > > accounting.
> >
> > swapaccount= was deprecated in the sense that it is always on now
> > (i.e. you cannot do swapaccount=0 anymore). I believe you are using
> > swapaccount=1 and want to make sure that swap accounting will still
> > work with v6.1, right?
> >
> > This is the second question we have had about this message [1]. I
> > think we need to clarify the warning (and perhaps backport to stable
> > kernels).
> >
> > [1]https://lore.kernel.org/linux-mm/2593755.Xrv9ptJ69j@sinistra.local/
>
>
> Thank you for answering this question, and sure this clarification is needed
> both in documentation and warning message.
> I've found deprecation message was commited on 26 Sep 2022.
> From what Linux version release, this deprecation is included?
>
> I suggest this for setup_swap_account() code:
> pr_warn_once("The swapaccount= commandline option is deprecated. "
> "Swap accounting is always on. "
> "Please report your usecase to linux-mm@kvack.org if you "
> "depend on this functionality.\n");
Would it make more sense to warn only if somebody tries to disable the
swap accounting?
---
diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index e4c8735e7c85..dec75eedf634 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -7936,7 +7936,10 @@ bool mem_cgroup_swap_full(struct folio *folio)
static int __init setup_swap_account(char *s)
{
- pr_warn_once("The swapaccount= commandline option is deprecated. "
+ bool res;
+
+ if (kstrtobool(s, &res) || !res)
+ pr_warn_once("The swapaccount= commandline option is deprecated. "
"Please report your usecase to linux-mm@kvack.org if you "
"depend on this functionality.\n");
return 1;
--
Michal Hocko
SUSE Labs
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: swapaccount= commandline option
2024-02-13 8:06 ` Michal Hocko
@ 2024-02-13 8:09 ` Yosry Ahmed
2024-02-13 8:26 ` Johannes Weiner
2024-02-13 8:23 ` Johannes Weiner
1 sibling, 1 reply; 10+ messages in thread
From: Yosry Ahmed @ 2024-02-13 8:09 UTC (permalink / raw)
To: Michal Hocko; +Cc: Narcis Garcia, linux-mm, Johannes Weiner, Roman Gushchin
On Tue, Feb 13, 2024 at 12:06 AM Michal Hocko <mhocko@suse.com> wrote:
>
> On Tue 13-02-24 08:01:37, Narcis Garcia wrote:
> > El 12/2/24 a les 23:37, Yosry Ahmed ha escrit:
> > > On Sun, Feb 11, 2024 at 1:33 AM Narcis Garcia <debianlists@actiu.net> wrote:
> > > >
> > > > Hello,
> > > >
> > > > I read this warning on Linux 6.1 boot:
> > > > The swapaccount= commandline option is deprecated. Please report your
> > > > usecase to linux-mm@kvack.org if you depend on this functionality.
> > > >
> > > > And I want to know if this impacts on LinuX Containers (LXC) swap
> > > > accounting.
> > >
> > > swapaccount= was deprecated in the sense that it is always on now
> > > (i.e. you cannot do swapaccount=0 anymore). I believe you are using
> > > swapaccount=1 and want to make sure that swap accounting will still
> > > work with v6.1, right?
> > >
> > > This is the second question we have had about this message [1]. I
> > > think we need to clarify the warning (and perhaps backport to stable
> > > kernels).
> > >
> > > [1]https://lore.kernel.org/linux-mm/2593755.Xrv9ptJ69j@sinistra.local/
> >
> >
> > Thank you for answering this question, and sure this clarification is needed
> > both in documentation and warning message.
> > I've found deprecation message was commited on 26 Sep 2022.
> > From what Linux version release, this deprecation is included?
> >
> > I suggest this for setup_swap_account() code:
> > pr_warn_once("The swapaccount= commandline option is deprecated. "
> > "Swap accounting is always on. "
> > "Please report your usecase to linux-mm@kvack.org if you "
> > "depend on this functionality.\n");
>
> Would it make more sense to warn only if somebody tries to disable the
> swap accounting?
> ---
> diff --git a/mm/memcontrol.c b/mm/memcontrol.c
> index e4c8735e7c85..dec75eedf634 100644
> --- a/mm/memcontrol.c
> +++ b/mm/memcontrol.c
> @@ -7936,7 +7936,10 @@ bool mem_cgroup_swap_full(struct folio *folio)
>
> static int __init setup_swap_account(char *s)
> {
> - pr_warn_once("The swapaccount= commandline option is deprecated. "
> + bool res;
> +
> + if (kstrtobool(s, &res) || !res)
> + pr_warn_once("The swapaccount= commandline option is deprecated. "
> "Please report your usecase to linux-mm@kvack.org if you "
> "depend on this functionality.\n");
> return 1;
> --
Yes, this makes sense to me, but I still think explicitly specifying
that swap accounting is always on now would make things even clearer.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: swapaccount= commandline option
2024-02-13 7:01 ` Narcis Garcia
2024-02-13 8:06 ` Yosry Ahmed
2024-02-13 8:06 ` Michal Hocko
@ 2024-02-13 8:18 ` Johannes Weiner
2 siblings, 0 replies; 10+ messages in thread
From: Johannes Weiner @ 2024-02-13 8:18 UTC (permalink / raw)
To: Narcis Garcia; +Cc: linux-mm, Michal Hocko, Roman Gushchin
On Tue, Feb 13, 2024 at 08:01:37AM +0100, Narcis Garcia wrote:
> El 12/2/24 a les 23:37, Yosry Ahmed ha escrit:
> > On Sun, Feb 11, 2024 at 1:33 AM Narcis Garcia <debianlists@actiu.net> wrote:
> >>
> >> Hello,
> >>
> >> I read this warning on Linux 6.1 boot:
> >> The swapaccount= commandline option is deprecated. Please report your
> >> usecase to linux-mm@kvack.org if you depend on this functionality.
> >>
> >> And I want to know if this impacts on LinuX Containers (LXC) swap
> >> accounting.
> >
> > swapaccount= was deprecated in the sense that it is always on now
> > (i.e. you cannot do swapaccount=0 anymore). I believe you are using
> > swapaccount=1 and want to make sure that swap accounting will still
> > work with v6.1, right?
> >
> > This is the second question we have had about this message [1]. I
> > think we need to clarify the warning (and perhaps backport to stable
> > kernels).
> >
> > [1]https://lore.kernel.org/linux-mm/2593755.Xrv9ptJ69j@sinistra.local/
>
>
> Thank you for answering this question, and sure this clarification is
> needed both in documentation and warning message.
> I've found deprecation message was commited on 26 Sep 2022.
> From what Linux version release, this deprecation is included?
Thanks for reporting this. I sent out a patch to only warn when
disabling is requested, and clarify the message a bit.
The knob was deprecated in Linux 6.1.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: swapaccount= commandline option
2024-02-13 8:06 ` Michal Hocko
2024-02-13 8:09 ` Yosry Ahmed
@ 2024-02-13 8:23 ` Johannes Weiner
1 sibling, 0 replies; 10+ messages in thread
From: Johannes Weiner @ 2024-02-13 8:23 UTC (permalink / raw)
To: Michal Hocko; +Cc: Narcis Garcia, linux-mm, Roman Gushchin
On Tue, Feb 13, 2024 at 09:06:29AM +0100, Michal Hocko wrote:
> On Tue 13-02-24 08:01:37, Narcis Garcia wrote:
> > El 12/2/24 a les 23:37, Yosry Ahmed ha escrit:
> > > On Sun, Feb 11, 2024 at 1:33 AM Narcis Garcia <debianlists@actiu.net> wrote:
> > > >
> > > > Hello,
> > > >
> > > > I read this warning on Linux 6.1 boot:
> > > > The swapaccount= commandline option is deprecated. Please report your
> > > > usecase to linux-mm@kvack.org if you depend on this functionality.
> > > >
> > > > And I want to know if this impacts on LinuX Containers (LXC) swap
> > > > accounting.
> > >
> > > swapaccount= was deprecated in the sense that it is always on now
> > > (i.e. you cannot do swapaccount=0 anymore). I believe you are using
> > > swapaccount=1 and want to make sure that swap accounting will still
> > > work with v6.1, right?
> > >
> > > This is the second question we have had about this message [1]. I
> > > think we need to clarify the warning (and perhaps backport to stable
> > > kernels).
> > >
> > > [1]https://lore.kernel.org/linux-mm/2593755.Xrv9ptJ69j@sinistra.local/
> >
> >
> > Thank you for answering this question, and sure this clarification is needed
> > both in documentation and warning message.
> > I've found deprecation message was commited on 26 Sep 2022.
> > From what Linux version release, this deprecation is included?
> >
> > I suggest this for setup_swap_account() code:
> > pr_warn_once("The swapaccount= commandline option is deprecated. "
> > "Swap accounting is always on. "
> > "Please report your usecase to linux-mm@kvack.org if you "
> > "depend on this functionality.\n");
>
> Would it make more sense to warn only if somebody tries to disable the
> swap accounting?
Gah, I should have refreshed my mail one more time before sending my
patch... Sorry about that.
> ---
> diff --git a/mm/memcontrol.c b/mm/memcontrol.c
> index e4c8735e7c85..dec75eedf634 100644
> --- a/mm/memcontrol.c
> +++ b/mm/memcontrol.c
> @@ -7936,7 +7936,10 @@ bool mem_cgroup_swap_full(struct folio *folio)
>
> static int __init setup_swap_account(char *s)
> {
> - pr_warn_once("The swapaccount= commandline option is deprecated. "
> + bool res;
> +
> + if (kstrtobool(s, &res) || !res)
> + pr_warn_once("The swapaccount= commandline option is deprecated. "
> "Please report your usecase to linux-mm@kvack.org if you "
> "depend on this functionality.\n");
> return 1;
Yes, I think that's the right thing to do.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: swapaccount= commandline option
2024-02-13 8:09 ` Yosry Ahmed
@ 2024-02-13 8:26 ` Johannes Weiner
2024-02-13 8:27 ` Yosry Ahmed
0 siblings, 1 reply; 10+ messages in thread
From: Johannes Weiner @ 2024-02-13 8:26 UTC (permalink / raw)
To: Yosry Ahmed; +Cc: Michal Hocko, Narcis Garcia, linux-mm, Roman Gushchin
On Tue, Feb 13, 2024 at 12:09:26AM -0800, Yosry Ahmed wrote:
> On Tue, Feb 13, 2024 at 12:06 AM Michal Hocko <mhocko@suse.com> wrote:
> >
> > On Tue 13-02-24 08:01:37, Narcis Garcia wrote:
> > > El 12/2/24 a les 23:37, Yosry Ahmed ha escrit:
> > > > On Sun, Feb 11, 2024 at 1:33 AM Narcis Garcia <debianlists@actiu.net> wrote:
> > > > >
> > > > > Hello,
> > > > >
> > > > > I read this warning on Linux 6.1 boot:
> > > > > The swapaccount= commandline option is deprecated. Please report your
> > > > > usecase to linux-mm@kvack.org if you depend on this functionality.
> > > > >
> > > > > And I want to know if this impacts on LinuX Containers (LXC) swap
> > > > > accounting.
> > > >
> > > > swapaccount= was deprecated in the sense that it is always on now
> > > > (i.e. you cannot do swapaccount=0 anymore). I believe you are using
> > > > swapaccount=1 and want to make sure that swap accounting will still
> > > > work with v6.1, right?
> > > >
> > > > This is the second question we have had about this message [1]. I
> > > > think we need to clarify the warning (and perhaps backport to stable
> > > > kernels).
> > > >
> > > > [1]https://lore.kernel.org/linux-mm/2593755.Xrv9ptJ69j@sinistra.local/
> > >
> > >
> > > Thank you for answering this question, and sure this clarification is needed
> > > both in documentation and warning message.
> > > I've found deprecation message was commited on 26 Sep 2022.
> > > From what Linux version release, this deprecation is included?
> > >
> > > I suggest this for setup_swap_account() code:
> > > pr_warn_once("The swapaccount= commandline option is deprecated. "
> > > "Swap accounting is always on. "
> > > "Please report your usecase to linux-mm@kvack.org if you "
> > > "depend on this functionality.\n");
> >
> > Would it make more sense to warn only if somebody tries to disable the
> > swap accounting?
> > ---
> > diff --git a/mm/memcontrol.c b/mm/memcontrol.c
> > index e4c8735e7c85..dec75eedf634 100644
> > --- a/mm/memcontrol.c
> > +++ b/mm/memcontrol.c
> > @@ -7936,7 +7936,10 @@ bool mem_cgroup_swap_full(struct folio *folio)
> >
> > static int __init setup_swap_account(char *s)
> > {
> > - pr_warn_once("The swapaccount= commandline option is deprecated. "
> > + bool res;
> > +
> > + if (kstrtobool(s, &res) || !res)
> > + pr_warn_once("The swapaccount= commandline option is deprecated. "
> > "Please report your usecase to linux-mm@kvack.org if you "
> > "depend on this functionality.\n");
> > return 1;
> > --
>
> Yes, this makes sense to me, but I still think explicitly specifying
> that swap accounting is always on now would make things even clearer.
I think it's okay if it only warns when somebody requests disabling,
since the confusion won't happen anymore for folks still explicitly
requesting the enablement. I did add a blurb about what the preferred
method to control swap behavior is, though.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: swapaccount= commandline option
2024-02-13 8:26 ` Johannes Weiner
@ 2024-02-13 8:27 ` Yosry Ahmed
0 siblings, 0 replies; 10+ messages in thread
From: Yosry Ahmed @ 2024-02-13 8:27 UTC (permalink / raw)
To: Johannes Weiner; +Cc: Michal Hocko, Narcis Garcia, linux-mm, Roman Gushchin
On Tue, Feb 13, 2024 at 12:26 AM Johannes Weiner <hannes@cmpxchg.org> wrote:
>
> On Tue, Feb 13, 2024 at 12:09:26AM -0800, Yosry Ahmed wrote:
> > On Tue, Feb 13, 2024 at 12:06 AM Michal Hocko <mhocko@suse.com> wrote:
> > >
> > > On Tue 13-02-24 08:01:37, Narcis Garcia wrote:
> > > > El 12/2/24 a les 23:37, Yosry Ahmed ha escrit:
> > > > > On Sun, Feb 11, 2024 at 1:33 AM Narcis Garcia <debianlists@actiu.net> wrote:
> > > > > >
> > > > > > Hello,
> > > > > >
> > > > > > I read this warning on Linux 6.1 boot:
> > > > > > The swapaccount= commandline option is deprecated. Please report your
> > > > > > usecase to linux-mm@kvack.org if you depend on this functionality.
> > > > > >
> > > > > > And I want to know if this impacts on LinuX Containers (LXC) swap
> > > > > > accounting.
> > > > >
> > > > > swapaccount= was deprecated in the sense that it is always on now
> > > > > (i.e. you cannot do swapaccount=0 anymore). I believe you are using
> > > > > swapaccount=1 and want to make sure that swap accounting will still
> > > > > work with v6.1, right?
> > > > >
> > > > > This is the second question we have had about this message [1]. I
> > > > > think we need to clarify the warning (and perhaps backport to stable
> > > > > kernels).
> > > > >
> > > > > [1]https://lore.kernel.org/linux-mm/2593755.Xrv9ptJ69j@sinistra.local/
> > > >
> > > >
> > > > Thank you for answering this question, and sure this clarification is needed
> > > > both in documentation and warning message.
> > > > I've found deprecation message was commited on 26 Sep 2022.
> > > > From what Linux version release, this deprecation is included?
> > > >
> > > > I suggest this for setup_swap_account() code:
> > > > pr_warn_once("The swapaccount= commandline option is deprecated. "
> > > > "Swap accounting is always on. "
> > > > "Please report your usecase to linux-mm@kvack.org if you "
> > > > "depend on this functionality.\n");
> > >
> > > Would it make more sense to warn only if somebody tries to disable the
> > > swap accounting?
> > > ---
> > > diff --git a/mm/memcontrol.c b/mm/memcontrol.c
> > > index e4c8735e7c85..dec75eedf634 100644
> > > --- a/mm/memcontrol.c
> > > +++ b/mm/memcontrol.c
> > > @@ -7936,7 +7936,10 @@ bool mem_cgroup_swap_full(struct folio *folio)
> > >
> > > static int __init setup_swap_account(char *s)
> > > {
> > > - pr_warn_once("The swapaccount= commandline option is deprecated. "
> > > + bool res;
> > > +
> > > + if (kstrtobool(s, &res) || !res)
> > > + pr_warn_once("The swapaccount= commandline option is deprecated. "
> > > "Please report your usecase to linux-mm@kvack.org if you "
> > > "depend on this functionality.\n");
> > > return 1;
> > > --
> >
> > Yes, this makes sense to me, but I still think explicitly specifying
> > that swap accounting is always on now would make things even clearer.
>
> I think it's okay if it only warns when somebody requests disabling,
> since the confusion won't happen anymore for folks still explicitly
> requesting the enablement. I did add a blurb about what the preferred
> method to control swap behavior is, though.
You did s/swapaccount=/swapaccount=0/g, and I think that's good enough.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2024-02-13 8:27 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-11 9:33 swapaccount= commandline option Narcis Garcia
2024-02-12 22:37 ` Yosry Ahmed
2024-02-13 7:01 ` Narcis Garcia
2024-02-13 8:06 ` Yosry Ahmed
2024-02-13 8:06 ` Michal Hocko
2024-02-13 8:09 ` Yosry Ahmed
2024-02-13 8:26 ` Johannes Weiner
2024-02-13 8:27 ` Yosry Ahmed
2024-02-13 8:23 ` Johannes Weiner
2024-02-13 8:18 ` Johannes Weiner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox