From: Hugh Dickins Date: Thu, 20 Dec 2012 01:42:16 +0000 (-0800) Subject: sched: numa: ksm: fix oops in task_numa_placment() X-Git-Tag: v3.8-rc1~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2832bc19f6668fd00116f61f821105040599ef8b;p=pandora-kernel.git sched: numa: ksm: fix oops in task_numa_placment() task_numa_placement() oopsed on NULL p->mm when task_numa_fault() got called in the handling of break_ksm() for ksmd. That might be a peculiar case, which perhaps KSM could takes steps to avoid? but it's more robust if task_numa_placement() allows for such a possibility. Signed-off-by: Hugh Dickins Acked-by: Mel Gorman Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed