From: Xiao Guangrong Date: Mon, 8 Oct 2012 23:29:44 +0000 (-0700) Subject: thp: remove wake_up_interruptible in the exit path X-Git-Tag: v3.7-rc1~74^2~121 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2017c0bff8ba79ea527361adbe19471e174775d6;p=pandora-kernel.git thp: remove wake_up_interruptible in the exit path Add the check of kthread_should_stop() to the conditions which are used to wakeup on khugepaged_wait, then kthread_stop is enough to let the thread exit Signed-off-by: Xiao Guangrong Cc: Andrea Arcangeli Cc: Hugh Dickins Cc: David Rientjes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed