Re: [PATCH] userns: enable tmpfs support for user namespace.

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

 



于 2012年09月20日 08:59, Eric W. Biederman 写道:
> Gao feng <gaofeng@xxxxxxxxxxxxxx> writes:
> 
>> 于 2012年09月19日 18:40, Eric W. Biederman 写道:
>>> Gao feng <gaofeng@xxxxxxxxxxxxxx> 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.
> 

Hi Eric

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.

Gao
_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/containers



[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux