diff options
| author | Tejun Heo <[email protected]> | 2011-02-16 12:13:06 +0100 |
|---|---|---|
| committer | Tejun Heo <[email protected]> | 2011-02-16 12:13:06 +0100 |
| commit | ffe77a4605fb2588f8666850ad3e3b196241658f (patch) | |
| tree | 7f4218d2658a84180e9e11d67636db27d6881f83 /tools/perf/scripts/python/sched-migration.py | |
| parent | d8fc3afc49bb226c20e37f48a4ddd493cd092837 (diff) | |
x86-64, NUMA: Restructure initmem_init()
Reorganize initmem_init() such that,
* Different NUMA init methods are iterated in a consistent way.
* Each iteration re-initializes all the parameters and different
method can be tried after a failure.
* Dummy init is handled the same as other methods.
Apart from how retry after failure, this patch doesn't change the
behavior. The call sequences are kept equivalent across the
conversion.
After the change, bad_srat() doesn't need to clear apic to node
mapping or worry about numa_off. Simplified accordingly.
Signed-off-by: Tejun Heo <[email protected]>
Cc: Yinghai Lu <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Cyrill Gorcunov <[email protected]>
Cc: Shaohui Zheng <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions