Re: [PATCH] memcg: clean up checking of the disabled flag

From: KOSAKI Motohiro
Date: Sat Jun 07 2008 - 02:49:58 EST


> Those checks are unnecessary, because when the subsystem is disabled
> it can't be mounted, so those functions won't get called.
>
> The check is needed in functions which will be called in other places
> except cgroup.
>
> Signed-off-by: Li Zefan <lizf@xxxxxxxxxxxxxx>

nice.
Acked-by: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/