[PATCH] userns: enable tmpfs support for user namespace.
gaofeng at cn.fujitsu.com
Wed Oct 24 07:49:23 UTC 2012
于 2012年09月20日 08:59, Eric W. Biederman 写道:
> Gao feng <gaofeng at cn.fujitsu.com> writes:
>> 于 2012年09月19日 18:40, Eric W. Biederman 写道:
>>> Gao feng <gaofeng at cn.fujitsu.com> writes:
>>>> mounting tmpfs in user namespace does no harm to the host.
>>>> so enable tmpfs support for the user namespace.
>>> I think this allows escaping from memory resource limits.
>> Got it,it makes sense,sorry for the noise.
> No noise problem.
> This is a problem that ultimately needs solving.
> I putter at that end of my tree from time to time, because those are the
> more interesting problems.
I test the tmpfs with mem cgroup,and found the memory cgroup can limit
how many memory the tasks used through tmpfs.
So I think this problem has already been solved.
Or maybe I misunderstand what you said?
Thanks help from Glauber.
More information about the Containers