From: Muchun Song <muchun.song@linux.dev>
To: Liu Shixin <liushixin2@huawei.com>
Cc: Jonathan Corbet <corbet@lwn.net>,
Johannes Weiner <hannes@cmpxchg.org>,
Michal Hocko <mhocko@kernel.org>,
Roman Gushchin <roman.gushchin@linux.dev>,
Shakeel Butt <shakeelb@google.com>,
Muchun Song <songmuchun@bytedance.com>,
Andrew Morton <akpm@linux-foundation.org>,
linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
cgroups@vger.kernel.org, linux-mm@kvack.org,
Kefeng Wang <wangkefeng.wang@huawei.com>
Subject: Re: [PATCH v2] mm/memcontrol: use kstrtobool for swapaccount param parsing
Date: Tue, 13 Sep 2022 18:34:40 +0800 [thread overview]
Message-ID: <128547F8-DABA-4548-82F5-0707A3614084@linux.dev> (raw)
In-Reply-To: <20220909084647.3598299-1-liushixin2@huawei.com>
> On Sep 9, 2022, at 16:46, Liu Shixin <liushixin2@huawei.com> wrote:
>
> Use kstrtobool which is more powerful to handle all kinds of parameters
> like 'Yy1Nn0' or [oO][NnFf] for "on" and "off".
>
> Signed-off-by: Liu Shixin <liushixin2@huawei.com>
With Andrew and Michal’s suggestion.
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Thanks.
WARNING: multiple messages have this Message-ID (diff)
From: Muchun Song <muchun.song@linux.dev>
To: Liu Shixin <liushixin2@huawei.com>
Cc: Jonathan Corbet <corbet@lwn.net>,
Johannes Weiner <hannes@cmpxchg.org>,
Michal Hocko <mhocko@kernel.org>,
Roman Gushchin <roman.gushchin@linux.dev>,
Shakeel Butt <shakeelb@google.com>,
Muchun Song <songmuchun@bytedance.com>,
Andrew Morton <akpm@linux-foundation.org>,
linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
cgroups@vger.kernel.org, linux-mm@kvack.org,
Kefeng Wang <wangkefeng.wang@huawei.com>
Subject: Re: [PATCH v2] mm/memcontrol: use kstrtobool for swapaccount param parsing
Date: Tue, 13 Sep 2022 18:34:40 +0800 [thread overview]
Message-ID: <128547F8-DABA-4548-82F5-0707A3614084@linux.dev> (raw)
In-Reply-To: <20220909084647.3598299-1-liushixin2@huawei.com>
> On Sep 9, 2022, at 16:46, Liu Shixin <liushixin2@huawei.com> wrote:
>
> Use kstrtobool which is more powerful to handle all kinds of parameters
> like 'Yy1Nn0' or [oO][NnFf] for "on" and "off".
>
> Signed-off-by: Liu Shixin <liushixin2@huawei.com>
With Andrew and Michal’s suggestion.
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Thanks.
next prev parent reply other threads:[~2022-09-13 10:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-09 8:46 [PATCH v2] mm/memcontrol: use kstrtobool for swapaccount param parsing Liu Shixin
2022-09-09 8:46 ` Liu Shixin
[not found] ` <20220909084647.3598299-1-liushixin2-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2022-09-09 21:53 ` Andrew Morton
2022-09-09 21:53 ` Andrew Morton
2022-09-13 7:13 ` [PATCH v3] " Liu Shixin
2022-09-13 7:13 ` Liu Shixin
2022-09-19 15:01 ` Michal Hocko
2022-09-13 10:34 ` Muchun Song [this message]
2022-09-13 10:34 ` [PATCH v2] " Muchun Song
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=128547F8-DABA-4548-82F5-0707A3614084@linux.dev \
--to=muchun.song@linux.dev \
--cc=akpm@linux-foundation.org \
--cc=cgroups@vger.kernel.org \
--cc=corbet@lwn.net \
--cc=hannes@cmpxchg.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=liushixin2@huawei.com \
--cc=mhocko@kernel.org \
--cc=roman.gushchin@linux.dev \
--cc=shakeelb@google.com \
--cc=songmuchun@bytedance.com \
--cc=wangkefeng.wang@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.