Re: [PATCH v9 3/4] cgroups: allow a cgroup subsystem to reject a fork

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Tejun,

> Ummm... is this really necessary?  Can't we do something like the
> following?
>
> #define SUBSYS_TAG(tag)                                         \
>         __##tag,                                                \
>         tag = __##tag - 2,

Is which part necessary? That's what TAG() does. I can remove the
UNUSED_IDENT() if you want, that was just to make sure you don't get clashes
with other unused idents. COUNT() is so that we don't have to manually add
CGROUP_<TAG>_COUNT for every tag we add.

--
Aleksa Sarai (cyphar)
www.cyphar.com
--
To unsubscribe from this list: send the line "unsubscribe cgroups" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux