diff options
| author | Rik van Riel <[email protected]> | 2013-11-12 00:29:25 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2013-11-13 12:33:51 +0000 |
| commit | 46a73e8a1c1720f7713b5e2df68e9dd272015b5d (patch) | |
| tree | a119f949799e3cd7382548eac2b41fa060c29ac5 /drivers/net/xen-netback/interface.c | |
| parent | sched: Fix endless sync_sched/rcu() loop inside _cpu_down() (diff) | |
| download | kernel-46a73e8a1c1720f7713b5e2df68e9dd272015b5d.tar.gz kernel-46a73e8a1c1720f7713b5e2df68e9dd272015b5d.zip | |
sched/numa: Fix NULL pointer dereference in task_numa_migrate()
The cpusets code can split up the scheduler's domain tree into
smaller domains. Some of those smaller domains may not cross
NUMA nodes at all, leading to a NULL pointer dereference on the
per-cpu sd_numa pointer.
Tasks cannot be migrated out of their domain, so the patch
also sets p->numa_preferred_nid to whereever they are, to
prevent the migration from being retried over and over again.
Reported-by: Prarit Bhargava <[email protected]>
Signed-off-by: Rik van Riel <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Mel Gorman <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
