linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michal Hocko <mhocko@suse.cz>
To: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Li Zefan <lizefan@huawei.com>, Tejun Heo <tj@kernel.org>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	cgroups@vger.kernel.org, containers@lists.linux-foundation.org,
	linux-kernel@vger.kernel.org, kent.overstreet@gmail.com,
	Glauber Costa <glommer@gmail.com>,
	Johannes Weiner <hannes@cmpxchg.org>,
	David Rientjes <rientjes@google.com>
Subject: Re: memcg creates an unkillable task in 3.11-rc2
Date: Mon, 9 Sep 2013 10:31:47 +0200	[thread overview]
Message-ID: <20130909083147.GA18056@dhcp22.suse.cz> (raw)
In-Reply-To: <87ob85kejy.fsf@xmission.com>

On Fri 06-09-13 11:09:21, Eric W. Biederman wrote:
> Michal Hocko <mhocko@suse.cz> writes:
> 
> > It seems that this one fell though the cracks?
> 
> Not completely, but it happened just as I was doing my initial triage of
> memcg problems and I haven't quite made it back to this.

OK. I am primarily asking because I am not sure I understood whether the
proposed patch helped or not. It should as per my last email but it is
possible that I have missed something...

> I have an even nastier memcg hang (without yet an easy reproducer).
> During mkdir ext3 can add a page to the page cache with the ext3 journal
> transaction lock held.  Normally that isn't a problem but freezing there
> stops all writes to that filesystem, and the world stops.
> 
> It looks like the only way to avoid that kind of scenario is to move the
> the memcg sleep to the edge of userspace, like we do with signals and a
> few other things so we can be guaranteed not to increase lock hold
> times, when it is avoidable.  I think I saw some similar comments about
> the slab limiting.

Johannes has patches that move memcg oom out of any locks already: 
https://lkml.org/lkml/2013/8/3/81. There is some development going on
there and I guess he will post v3 soon but that sounds it might help
with what you describe above.

Thanks!
-- 
Michal Hocko
SUSE Labs

  reply	other threads:[~2013-09-09  8:31 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-23 17:47 [GIT PULL] cgroup changes for 3.11-rc2 Tejun Heo
2013-07-29  0:42 ` memcg creates an unkillable task in 3.2-rc2 Eric W. Biederman
2013-07-29  7:59   ` Michal Hocko
2013-07-29  8:54     ` Eric W. Biederman
2013-07-29  9:51       ` Michal Hocko
2013-07-29 10:21         ` Eric W. Biederman
2013-07-29 16:10         ` Tejun Heo
2013-07-29 17:03           ` Eric W. Biederman
2013-07-29 17:20             ` Tejun Heo
2013-07-29 18:06               ` Eric W. Biederman
2013-07-29 18:17               ` Michal Hocko
2013-07-29 18:13             ` Johannes Weiner
2013-07-29 18:52               ` Eric W. Biederman
2013-07-30  1:58             ` Li Zefan
2013-07-30  8:19               ` memcg creates an unkillable task in 3.11-rc2 Eric W. Biederman
2013-07-30 12:31                 ` Michal Hocko
2013-07-30 16:37                   ` Eric W. Biederman
2013-07-31  7:37                     ` Michal Hocko
2013-07-31 12:10                       ` Johannes Weiner
2013-07-31 22:09                       ` Eric W. Biederman
2013-08-01  9:06                         ` Michal Hocko
2013-09-05  9:56                           ` Michal Hocko
2013-09-06 18:09                             ` Eric W. Biederman
2013-09-09  8:31                               ` Michal Hocko [this message]
2013-07-30 16:28                 ` Eric W. Biederman
2013-09-26 23:41                   ` Fabio Kung
2013-09-27  0:35                     ` Eric W. Biederman
2013-11-12 16:00                     ` Michal Hocko

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=20130909083147.GA18056@dhcp22.suse.cz \
    --to=mhocko@suse.cz \
    --cc=cgroups@vger.kernel.org \
    --cc=containers@lists.linux-foundation.org \
    --cc=ebiederm@xmission.com \
    --cc=glommer@gmail.com \
    --cc=hannes@cmpxchg.org \
    --cc=kent.overstreet@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lizefan@huawei.com \
    --cc=rientjes@google.com \
    --cc=tj@kernel.org \
    --cc=torvalds@linux-foundation.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).