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

From: Balbir Singh
Date: Thu Jun 05 2008 - 21:56:50 EST


Li Zefan wrote:
> 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>

Yep, that should work

Acked-by: Balbir Singh <balbir@xxxxxxxxxxxxxxxxxx>

--
Warm Regards,
Balbir Singh
Linux Technology Center
IBM, ISTL
--
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/