[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20230803100533.a9bdac370de2e8e4bee0f33a@linux-foundation.org>
Date: Thu, 3 Aug 2023 10:05:33 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Johannes Weiner <hannes@...xchg.org>
Cc: Miaohe Lin <linmiaohe@...wei.com>, tj@...nel.org,
lizefan.x@...edance.com, cgroups@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] cgroup: minor cleanup for cgroup_local_stat_show()
On Thu, 3 Aug 2023 10:27:58 -0400 Johannes Weiner <hannes@...xchg.org> wrote:
> > @@ -3686,8 +3686,9 @@ static int cpu_stat_show(struct seq_file *seq, void *v)
> > return ret;
> > }
> >
> > -static int __maybe_unused cgroup_local_stat_show(struct seq_file *seq,
> > - struct cgroup *cgrp, int ssid)
> > +#ifdef CONFIG_CGROUP_SCHED
> > +static int cgroup_local_stat_show(struct seq_file *seq,
> > + struct cgroup *cgrp, int ssid)
>
> Andrew, this is based on "sched: add throttled time stat for throttled
> children" in -next (coming in from -tip). Hence the routing through
> you rather than the cgroup tree.
Since switching to the more gitty workflow I have lost the power to
carry patches against -next. I could regain that power I guess, but
this is the first time the requirement has come up.
So for now I'll save this patch away for the next -rc cycle.
Powered by blists - more mailing lists