From: Hugh Dickins Date: Mon, 9 Nov 2009 15:58:23 +0000 (+0000) Subject: ksm: cond_resched in unstable tree X-Git-Tag: v2.6.32-rc7~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d178f27fc5150d680d9df865ea9dfe3269cf00a6;p=pandora-kernel.git ksm: cond_resched in unstable tree KSM needs a cond_resched() for CONFIG_PREEMPT_NONE, in its unbounded search of the unstable tree. The stable tree cases already have one, and originally there was one down inside get_user_pages(); but I missed it when I converted to follow_page() instead. Signed-off-by: Hugh Dickins Acked-by: Izik Eidus Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed