]> err.no Git - linux-2.6/commit
[IA64] Fix get_model_name() for mixed cpu type systems
authorJack Steiner <steiner@sgi.com>
Mon, 12 Mar 2007 13:07:49 +0000 (08:07 -0500)
committerTony Luck <tony.luck@intel.com>
Tue, 20 Mar 2007 20:42:23 +0000 (13:42 -0700)
commitc5e83e3f42938c0a84047e125edb98d6513f985b
treebefe636ac169b82fe4ba8d3353de6e11a19de82f
parenta3f5c338b9f30f328276739d9589beae19254936
[IA64] Fix get_model_name() for mixed cpu type systems

If a system consists of mixed processor types, kmalloc()
can be called before the per-cpu data page is initialized.
If the slab contains sufficient memory, then kmalloc() works
ok. However, if the slabs are empty, slab calls the memory
allocator. This requires per-cpu data (NODE_DATA()) & the
cpu dies.

Also noted by Russ Anderson who had a very similar patch.

Signed-off-by: Jack Steiner <steiner@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/setup.c