From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Li Zefan <lizf@cn.fujitsu.com>,
Balbir Singh <balbir@linux.vnet.ibm.com>,
Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>,
"linux-mm@kvack.org" <linux-mm@kvack.org>,
LKML <linux-kernel@vger.kernel.org>,
"akpm@linux-foundation.org" <akpm@linux-foundation.org>
Subject: Re: [BUGFIX][PATCH] memcg rcu lock fix v3
Date: Fri, 23 Apr 2010 21:27:39 -0700 [thread overview]
Message-ID: <20100424042739.GD2589@linux.vnet.ibm.com> (raw)
In-Reply-To: <20100424110805.17c7f86e.kamezawa.hiroyu@jp.fujitsu.com>
On Sat, Apr 24, 2010 at 11:08:05AM +0900, KAMEZAWA Hiroyuki wrote:
> On Fri, 23 Apr 2010 12:34:06 -0700
> "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> wrote:
>
> > On Fri, Apr 23, 2010 at 01:03:49PM +0900, KAMEZAWA Hiroyuki wrote:
> > > On Fri, 23 Apr 2010 12:58:14 +0900
> > > KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> wrote:
> > >
> > > > On Fri, 23 Apr 2010 11:55:16 +0800
> > > > Li Zefan <lizf@cn.fujitsu.com> wrote:
> > > >
> > > > > Li Zefan wrote:
> > > > > > KAMEZAWA Hiroyuki wrote:
> > > > > >> On Fri, 23 Apr 2010 11:00:41 +0800
> > > > > >> Li Zefan <lizf@cn.fujitsu.com> wrote:
> > > > > >>
> > > > > >>> with CONFIG_PROVE_RCU=y, I saw this warning, it's because
> > > > > >>> css_id() is not under rcu_read_lock().
> > > > > >>>
> > > > > >> Ok. Thank you for reporting.
> > > > > >> This is ok ?
> > > > > >
> > > > > > Yes, and I did some more simple tests on memcg, no more warning
> > > > > > showed up.
> > > > > >
> > > > >
> > > > > oops, after trigging oom, I saw 2 more warnings:
> > > > >
> > > >
> > > > Thank you for good testing.
> > > v3 here...sorry too rapid posting...
> > >
> > > ==
> > > From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
> >
> > I have queued this, thank you all!
> >
> > However, memcg_oom_wake_function() does not yet exist in the tree
> > I am using, and is_target_pte_for_mc() has changed. I omitted the
> > hunk for memcg_oom_wake_function() and edited the hunk for
> > is_target_pte_for_mc().
> >
> Ok, memcg_oom_wake_function is for -mm. I'll prepare another patch for -mm.
>
>
> > I have queued this for others' testing, but if you would rather carry
> > this patch up the memcg path, please let me know and I will drop it.
> >
> I think it's ok to be fixed by your tree. I'll look at memcg later and
> fix remaining things.
Sounds good!
Thanx, Paul
WARNING: multiple messages have this Message-ID (diff)
From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Li Zefan <lizf@cn.fujitsu.com>,
Balbir Singh <balbir@linux.vnet.ibm.com>,
Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>,
"linux-mm@kvack.org" <linux-mm@kvack.org>,
LKML <linux-kernel@vger.kernel.org>,
"akpm@linux-foundation.org" <akpm@linux-foundation.org>
Subject: Re: [BUGFIX][PATCH] memcg rcu lock fix v3
Date: Fri, 23 Apr 2010 21:27:39 -0700 [thread overview]
Message-ID: <20100424042739.GD2589@linux.vnet.ibm.com> (raw)
In-Reply-To: <20100424110805.17c7f86e.kamezawa.hiroyu@jp.fujitsu.com>
On Sat, Apr 24, 2010 at 11:08:05AM +0900, KAMEZAWA Hiroyuki wrote:
> On Fri, 23 Apr 2010 12:34:06 -0700
> "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> wrote:
>
> > On Fri, Apr 23, 2010 at 01:03:49PM +0900, KAMEZAWA Hiroyuki wrote:
> > > On Fri, 23 Apr 2010 12:58:14 +0900
> > > KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> wrote:
> > >
> > > > On Fri, 23 Apr 2010 11:55:16 +0800
> > > > Li Zefan <lizf@cn.fujitsu.com> wrote:
> > > >
> > > > > Li Zefan wrote:
> > > > > > KAMEZAWA Hiroyuki wrote:
> > > > > >> On Fri, 23 Apr 2010 11:00:41 +0800
> > > > > >> Li Zefan <lizf@cn.fujitsu.com> wrote:
> > > > > >>
> > > > > >>> with CONFIG_PROVE_RCU=y, I saw this warning, it's because
> > > > > >>> css_id() is not under rcu_read_lock().
> > > > > >>>
> > > > > >> Ok. Thank you for reporting.
> > > > > >> This is ok ?
> > > > > >
> > > > > > Yes, and I did some more simple tests on memcg, no more warning
> > > > > > showed up.
> > > > > >
> > > > >
> > > > > oops, after trigging oom, I saw 2 more warnings:
> > > > >
> > > >
> > > > Thank you for good testing.
> > > v3 here...sorry too rapid posting...
> > >
> > > ==
> > > From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
> >
> > I have queued this, thank you all!
> >
> > However, memcg_oom_wake_function() does not yet exist in the tree
> > I am using, and is_target_pte_for_mc() has changed. I omitted the
> > hunk for memcg_oom_wake_function() and edited the hunk for
> > is_target_pte_for_mc().
> >
> Ok, memcg_oom_wake_function is for -mm. I'll prepare another patch for -mm.
>
>
> > I have queued this for others' testing, but if you would rather carry
> > this patch up the memcg path, please let me know and I will drop it.
> >
> I think it's ok to be fixed by your tree. I'll look at memcg later and
> fix remaining things.
Sounds good!
Thanx, Paul
--
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>
next prev parent reply other threads:[~2010-04-24 4:27 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-23 3:00 [BUG] an RCU warning in memcg Li Zefan
2010-04-23 3:00 ` Li Zefan
2010-04-23 3:14 ` [BUGFIX][PATCH] memcg rcu lock fix in swap code (Was " KAMEZAWA Hiroyuki
2010-04-23 3:14 ` KAMEZAWA Hiroyuki
2010-04-23 3:32 ` Balbir Singh
2010-04-23 3:32 ` Balbir Singh
2010-04-23 3:49 ` Li Zefan
2010-04-23 3:49 ` Li Zefan
2010-04-23 3:55 ` Li Zefan
2010-04-23 3:55 ` Li Zefan
2010-04-23 3:50 ` KAMEZAWA Hiroyuki
2010-04-23 3:50 ` KAMEZAWA Hiroyuki
2010-04-23 4:02 ` Li Zefan
2010-04-23 4:02 ` Li Zefan
2010-04-23 3:58 ` [BUGFIX][PATCH] memcg rcu lock fix v2 KAMEZAWA Hiroyuki
2010-04-23 3:58 ` KAMEZAWA Hiroyuki
2010-04-23 4:03 ` [BUGFIX][PATCH] memcg rcu lock fix v3 KAMEZAWA Hiroyuki
2010-04-23 4:03 ` KAMEZAWA Hiroyuki
2010-04-23 4:41 ` Daisuke Nishimura
2010-04-23 4:41 ` Daisuke Nishimura
2010-04-23 6:10 ` Li Zefan
2010-04-23 6:10 ` Li Zefan
2010-04-23 6:05 ` KAMEZAWA Hiroyuki
2010-04-23 6:05 ` KAMEZAWA Hiroyuki
2010-04-23 7:00 ` Balbir Singh
2010-04-23 7:00 ` Balbir Singh
2010-04-23 6:57 ` KAMEZAWA Hiroyuki
2010-04-23 6:57 ` KAMEZAWA Hiroyuki
2010-04-23 19:34 ` Paul E. McKenney
2010-04-23 19:34 ` Paul E. McKenney
2010-04-24 2:08 ` KAMEZAWA Hiroyuki
2010-04-24 2:08 ` KAMEZAWA Hiroyuki
2010-04-24 4:27 ` Paul E. McKenney [this message]
2010-04-24 4:27 ` Paul E. McKenney
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=20100424042739.GD2589@linux.vnet.ibm.com \
--to=paulmck@linux.vnet.ibm.com \
--cc=akpm@linux-foundation.org \
--cc=balbir@linux.vnet.ibm.com \
--cc=kamezawa.hiroyu@jp.fujitsu.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=lizf@cn.fujitsu.com \
--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.