https://github.com/torvalds/linux
Revision 989f89c57e6361e7d16fbd9572b5da7d313b073d authored by KAMEZAWA Hiroyuki on 31 August 2007, 06:56:21 UTC, committed by Linus Torvalds on 31 August 2007, 08:42:22 UTC
In migration fallback path, write_page() or lock_page() will be called.
This causes sleep with holding rcu_read_lock().
For avoding that, just do rcu_lock if the page is Anon.(this is enough.)

Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Acked-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent d1254b1
History
Tip revision: 989f89c57e6361e7d16fbd9572b5da7d313b073d authored by KAMEZAWA Hiroyuki on 31 August 2007, 06:56:21 UTC
fix rcu_read_lock() in page migraton
Tip revision: 989f89c
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 607 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 89.3 KB
Kbuild -rw-r--r-- 1.5 KB
MAINTAINERS -rw-r--r-- 91.0 KB
Makefile -rw-r--r-- 50.1 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top