From: Shaohua Li <shaohua.li@intel.com>
To: lkml <linux-kernel@vger.kernel.org>
Cc: kamezawa.hiroyu@jp.fujitsu.com, clameter@sgi.com
Subject: bug in migrate page
Date: Wed, 22 Aug 2007 10:08:09 +0800 [thread overview]
Message-ID: <1187748489.8474.21.camel@sli10-conroe.sh.intel.com> (raw)
commit dc386d4d1e98bb39fb967ee156cd456c802fc692 adds rcu_read_lock, but
some routines in the lock range might sleep (like lock_buffer,
aops->writepage), I saw a 'sleep in atomic' warning. It appears the
patch has several versions before. Doing rcu_read_lock in PageAnon
sounds break the case of PageAnon(page) && PageSwapCache(page),
as .writepage might be called. The dummy anon patch maybe is ok.
Thanks,
Shaohua
next reply other threads:[~2007-08-22 2:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-22 2:08 Shaohua Li [this message]
2007-08-22 2:52 ` KAMEZAWA Hiroyuki
2007-08-22 2:50 ` Shaohua Li
2007-08-22 3:06 ` KAMEZAWA Hiroyuki
2007-08-22 5:00 ` [RFC][PATCH][BUGFIX] fix rcu_read_lock in page migraton KAMEZAWA Hiroyuki
2007-08-22 18:44 ` Christoph Lameter
2007-08-22 17:50 ` bug in migrate page Christoph Lameter
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=1187748489.8474.21.camel@sli10-conroe.sh.intel.com \
--to=shaohua.li@intel.com \
--cc=clameter@sgi.com \
--cc=kamezawa.hiroyu@jp.fujitsu.com \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®