Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/parisc-2.6
* 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/parisc-2.6: [PARISC] slub: fix panic with DISCONTIGMEM [PARISC] set memory ranges in N_NORMAL_MEMORY when onlined
This commit is contained in:
commit
e8dad69408
2 changed files with 4 additions and 1 deletions
|
@ -266,8 +266,10 @@ static void __init setup_bootmem(void)
|
||||||
}
|
}
|
||||||
memset(pfnnid_map, 0xff, sizeof(pfnnid_map));
|
memset(pfnnid_map, 0xff, sizeof(pfnnid_map));
|
||||||
|
|
||||||
for (i = 0; i < npmem_ranges; i++)
|
for (i = 0; i < npmem_ranges; i++) {
|
||||||
|
node_set_state(i, N_NORMAL_MEMORY);
|
||||||
node_set_online(i);
|
node_set_online(i);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -1226,6 +1226,7 @@ config SLAB
|
||||||
per cpu and per node queues.
|
per cpu and per node queues.
|
||||||
|
|
||||||
config SLUB
|
config SLUB
|
||||||
|
depends on BROKEN || NUMA || !DISCONTIGMEM
|
||||||
bool "SLUB (Unqueued Allocator)"
|
bool "SLUB (Unqueued Allocator)"
|
||||||
help
|
help
|
||||||
SLUB is a slab allocator that minimizes cache line usage
|
SLUB is a slab allocator that minimizes cache line usage
|
||||||
|
|
Loading…
Reference in a new issue