mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Balbir Singh <balbir@linux.vnet.ibm.com>
To: Mark Hills <mark@pogo.org.uk>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>,
	Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>,
	linux-kernel@vger.kernel.org
Subject: Re: cgroup: rmdir() does not complete
Date: Thu, 9 Sep 2010 15:39:09 +0530	[thread overview]
Message-ID: <20100909100909.GM4443@balbir.in.ibm.com> (raw)
In-Reply-To: <alpine.NEB.2.01.1009091051400.17759@jrf.vwaro.pbz>

* Mark Hills <mark@pogo.org.uk> [2010-09-09 11:01:45]:

> On Thu, 2 Sep 2010, KAMEZAWA Hiroyuki wrote:
> 
> [...]
> > But hmm...it's curious who holds mutex and what happens.
> 
> I have a system showing the failure case (but still do not have a way to 
> reliably repeat it)
> 
> Here are the two processes:
> 
> 23586 pts/0    RL+  5059:18 /net/homes/mhills/tmp/soaked-cgroup
> 23685 pts/6    DL+    0:00 /net/homes/mhills/tmp/soaked-cgroup
> 
> 23586 spends almost all of its time in 'RL+' status, occasionally it is 
> seen in 'DL+' status.
> 
> From my analysis before, both are blocked on rmdir(), but one is spinning, 
> holding the lock on the /cgroup, and the other is waiting for the lock. If 
> I strace 23586 then the rmdir() fails with EINTR.
>

Any chance you can compile with debug cgroup subsystem and get
information from there? 

-- 
	Three Cheers,
	Balbir

  reply	other threads:[~2010-09-09 10:09 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-26 15:51 Mark Hills
2010-08-27  0:56 ` Daisuke Nishimura
2010-08-27  1:20   ` Balbir Singh
2010-08-27  2:35   ` KAMEZAWA Hiroyuki
2010-08-27  3:39     ` Daisuke Nishimura
2010-08-27  5:42       ` KAMEZAWA Hiroyuki
2010-08-27  6:29         ` KAMEZAWA Hiroyuki
2010-08-30  7:32           ` Balbir Singh
2010-08-30  9:13         ` Mark Hills
2010-09-01 11:10         ` Mark Hills
2010-09-01 23:42           ` KAMEZAWA Hiroyuki
2010-09-02  9:45             ` Mark Hills
2010-09-09 10:01             ` Mark Hills
2010-09-09 10:09               ` Balbir Singh [this message]
2010-09-09 11:36                 ` Mark Hills
2010-09-09 11:50                   ` Peter Zijlstra
2010-09-09 23:04                     ` Mark Hills
2010-09-09 23:43                       ` KAMEZAWA Hiroyuki
2010-09-10  2:16                       ` KAMEZAWA Hiroyuki
2010-09-10  4:05                         ` Daisuke Nishimura
2010-09-10  4:11                           ` KAMEZAWA Hiroyuki
2010-09-10  7:28                         ` Mark Hills
2010-09-10  7:33                           ` KAMEZAWA Hiroyuki
2010-09-10  7:51                             ` Mark Hills
2010-08-27  1:25 ` KAMEZAWA Hiroyuki
2010-08-30  9:25   ` Mark Hills

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=20100909100909.GM4443@balbir.in.ibm.com \
    --to=balbir@linux.vnet.ibm.com \
    --cc=kamezawa.hiroyu@jp.fujitsu.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark@pogo.org.uk \
    --cc=nishimura@mxp.nes.nec.co.jp \
    /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

all inboxes | Powered by JetHome®