All of lore.kernel.org
 help / color / mirror / Atom feed
From: Li Zefan <lizf@cn.fujitsu.com>
To: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Balbir Singh <balbir@linux.vnet.ibm.com>,
	Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>,
	"linux-mm@kvack.org" <linux-mm@kvack.org>
Subject: Re: [BUG] memcg: panic when rmdir()
Date: Fri, 16 Jan 2009 15:00:41 +0800	[thread overview]
Message-ID: <49703099.4090904@cn.fujitsu.com> (raw)
In-Reply-To: <20090116153059.64bc5b45.kamezawa.hiroyu@jp.fujitsu.com>

KAMEZAWA Hiroyuki wrote:
> On Fri, 16 Jan 2009 14:24:39 +0800
> Li Zefan <lizf@cn.fujitsu.com> wrote:
> 
>> KAMEZAWA Hiroyuki wrote:
>>> On Fri, 16 Jan 2009 14:15:04 +0800
>>> Li Zefan <lizf@cn.fujitsu.com> wrote:
>>>
>>>> Found this when testing memory resource controller, can be triggered
>>>> with:
>>>> - CONFIG_CGROUP_MEM_RES_CTLR_SWAP=n
>>>> - or CONFIG_CGROUP_MEM_RES_CTLR_SWAP=y
>>>> - or CONFIG_CGROUP_MEM_RES_CTLR_SWAP=y && boot with noswapaccount
>>>>
>>>> # mount -t cgroup -o memory xxx /mnt
>>>> # mkdir /mnt/0
>>>> # for pid in `cat /mnt/tasks`; do echo $pid > /mnt/0/tasks; done
>>>> # echo "low limit" > /mnt/0/tasks
>>>> # do whatever to allocate some memory
>>>> # swapoff -a
>>>> killed (by OOM)
>>>> # for pid in `cat /mnt/0/tasks`; do echo $pid > /mnt/tasks; done
>>>> # rmdir /mnt/0
>>>>
>>> Isn't this a problem Nishimura fixed today ?
>>>
>> Are you sure?
>>
> Sorry, I didn't see BUG! line in you log.
> 

I've tested with Nishimura's patch applied, and as is expected, this bug
is totally different from the one Nishimura has fixed.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2009-01-16  7:01 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-16  6:15 [BUG] memcg: panic when rmdir() Li Zefan
2009-01-16  6:19 ` KAMEZAWA Hiroyuki
2009-01-16  6:24   ` Li Zefan
2009-01-16  6:30     ` KAMEZAWA Hiroyuki
2009-01-16  7:00       ` Li Zefan [this message]
2009-01-16  6:29 ` KAMEZAWA Hiroyuki
2009-01-16  6:58 ` Daisuke Nishimura
2009-01-16  8:07 ` KAMEZAWA Hiroyuki
2009-01-16  8:26   ` Daisuke Nishimura
2009-01-16  9:12     ` KAMEZAWA Hiroyuki
2009-01-16  9:23       ` [BUGFIX] [PATCH] memcg: fix refcnt handling at swapoff KAMEZAWA Hiroyuki
2009-01-16  9:13     ` [BUG] memcg: panic when rmdir() Daisuke Nishimura
2009-01-16  9:16       ` KAMEZAWA Hiroyuki
2009-01-16  8:33   ` Li Zefan
2009-01-16  8:40     ` KAMEZAWA Hiroyuki

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=49703099.4090904@cn.fujitsu.com \
    --to=lizf@cn.fujitsu.com \
    --cc=balbir@linux.vnet.ibm.com \
    --cc=kamezawa.hiroyu@jp.fujitsu.com \
    --cc=linux-mm@kvack.org \
    --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 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.