From: Tejun Heo <tj@kernel.org>
To: Johannes Weiner <hannes@cmpxchg.org>
Cc: Chen Wandun <chenwandun@huawei.com>,
lizefan.x@bytedance.com, surenb@google.com,
cgroups@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] psi: dont alloc memory for psi by default
Date: Thu, 26 May 2022 08:54:59 -1000 [thread overview]
Message-ID: <Yo/NAytP6mnmeW2M@slm.duckdns.org> (raw)
In-Reply-To: <Yo+mXVefsRSxjTMY@cmpxchg.org>
On Thu, May 26, 2022 at 12:10:05PM -0400, Johannes Weiner wrote:
> On Thu, May 26, 2022 at 08:26:56PM +0800, Chen Wandun wrote:
> > Memory about struct psi_group is allocated by default for
> > each cgroup even if psi_disabled is true, in this case, these
> > allocated memory is waste, so alloc memory for struct psi_group
> > only when psi_disabled is false.
> >
> > Signed-off-by: Chen Wandun <chenwandun@huawei.com>
>
> Looks good to me,
> Acked-by: Johannes Weiner <hannes@cmpxchg.org>
>
> Tejun, would you mind taking this through the cgroup tree?
Will do once rc1 drops.
Thanks.
--
tejun
next prev parent reply other threads:[~2022-05-26 18:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-26 12:26 Chen Wandun
2022-05-26 16:10 ` Johannes Weiner
2022-05-26 18:54 ` Tejun Heo [this message]
2022-06-07 17:12 ` Tejun Heo
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=Yo/NAytP6mnmeW2M@slm.duckdns.org \
--to=tj@kernel.org \
--cc=cgroups@vger.kernel.org \
--cc=chenwandun@huawei.com \
--cc=hannes@cmpxchg.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lizefan.x@bytedance.com \
--cc=surenb@google.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®