[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAOS58YM9nUYGP_f3_CE4EoaFGJ=aB3EJC43xrJwc_iymLf+rXQ@mail.gmail.com>
Date: Tue, 9 Jun 2015 16:23:07 +0900
From: Tejun Heo <tj@...nel.org>
To: Aleksa Sarai <cyphar@...har.com>
Cc: Li Zefan <lizefan@...wei.com>, Ingo Molnar <mingo@...hat.com>,
Peter Zijlstra <peterz@...radead.org>,
Richard Weinberger <richard@....at>,
Frédéric Weisbecker <fweisbec@...il.com>,
lkml <linux-kernel@...r.kernel.org>,
Cgroups <cgroups@...r.kernel.org>
Subject: Re: [PATCH v13 4/5] cgroup: allow a cgroup subsystem to reject a fork
Hello,
On Tue, Jun 9, 2015 at 4:20 PM, Aleksa Sarai <cyphar@...har.com> wrote:
> CGROUP_CANFORK_{START,END,COUNT} aren't used to restrict the
> iteration. They're used for restricting the size of the @ss_priv
> array. If you want, I can use CANFORK_{START,END} to restrict the
> iteration -- I just prefer using the for_each_subsys_which API for
> iterating over active cgroups. :/
Ah, I see. Hmm... yeah, let's keep the code for now, but I think it'd
be cheaper / cleaner to use those macro tags to restrict iteration and
drop all the masks in the future.
Thanks.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists