commit | 2832bc19f6668fd00116f61f821105040599ef8b | [log] [tgz] |
---|---|---|
author | Hugh Dickins <hughd@google.com> | Wed Dec 19 17:42:16 2012 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Dec 20 07:06:56 2012 -0800 |
tree | 9839b9321ab7c3dc86f003d69cae522a78d02f20 | |
parent | cda73a10eb3f493871ed39f468db50a65ebeddce [diff] |
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 <hughd@google.com> Acked-by: Mel Gorman <mgorman@suse.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>