From 989f89c57e6361e7d16fbd9572b5da7d313b073d Mon Sep 17 00:00:00 2001 From: KAMEZAWA Hiroyuki Date: Thu, 30 Aug 2007 23:56:21 -0700 Subject: [PATCH] fix rcu_read_lock() in page migraton 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 Acked-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-format-patch failed