[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAOviyagDRjy4roRL11KYRGsiX8xJT=90rANYVQcDcdKbzDRuOA@mail.gmail.com>
Date: Sat, 18 Apr 2015 07:06:02 +1000
From: Aleksa Sarai <cyphar@...har.com>
To: Tejun Heo <tj@...nel.org>
Cc: lizefan@...wei.com, mingo@...hat.com, peterz@...radead.org,
richard@....at,
Frédéric Weisbecker <fweisbec@...il.com>,
linux-kernel@...r.kernel.org, cgroups@...r.kernel.org
Subject: Re: [PATCH v9 3/4] cgroups: allow a cgroup subsystem to reject a fork
>> Do you mean like this?
>>
>> #define SUBSYS_TAG_COUNT(_tag) (CGROUP_ ## _tag ## _END - CGROUP_ ##
>> _tag ## _START)
>>
>> That's fine I guess, I just wanted to match CGROUP_SUBSYS_COUNT in
>> semantics, but I'll do that if you prefer it that way.
>
> Not even that, just do it manually.
>
> #define CGROUP_TAGNAME_COUNT (CGROUP_TAGNAME_END - CGROUP_TAGNAME_START)
>
> At maximum, we're only gonna have a few of these. No reason to be
> smart about it.
Yeah, that's fair I guess.
--
Aleksa Sarai (cyphar)
www.cyphar.com
--
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