All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gao feng <gaofeng-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
To: "Eric W. Biederman" <ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org>
Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
Subject: Re: [PATCH] userns: enable tmpfs support for user namespace.
Date: Wed, 24 Oct 2012 15:49:23 +0800	[thread overview]
Message-ID: <50879D83.2050905@cn.fujitsu.com> (raw)
In-Reply-To: <874nmt5x1r.fsf-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org>

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

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@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/containers

      parent reply	other threads:[~2012-10-24  7:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-19  8:16 [PATCH] userns: enable tmpfs support for user namespace Gao feng
     [not found] ` <1348042588-9031-1-git-send-email-gaofeng-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2012-09-19 10:40   ` Eric W. Biederman
     [not found]     ` <87wqzq8fe3.fsf-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org>
2012-09-20  0:39       ` Gao feng
     [not found]         ` <505A65AB.4000703-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2012-09-20  0:59           ` Eric W. Biederman
     [not found]             ` <874nmt5x1r.fsf-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org>
2012-10-24  7:49               ` Gao feng [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50879D83.2050905@cn.fujitsu.com \
    --to=gaofeng-bthxqxjhjhxqfuhtdcdx3a@public.gmane.org \
    --cc=containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
    --cc=ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.