[IA64] make uncached allocator more node aware
authorDean Nelson <dcn@sgi.com>
Wed, 28 Jun 2006 18:50:09 +0000 (13:50 -0500)
committerTony Luck <tony.luck@intel.com>
Fri, 4 Aug 2006 17:27:27 +0000 (10:27 -0700)
commiteca7994f60eb6550d9e9b36d3b641a5a0e18a7c1
tree124cf66b19d5e3d8e32985a15ac2a3f45b863e15
parentefe78cda3596f8a6d1c2d4a6b1a221bafa3e1a48
[IA64] make uncached allocator more node aware

The uncached allocator has a function, uncached_get_new_chunk(), that needs
to be serialized on a per node basis. It also has a global variable,
allocated_granules, which should be defined on a per node basis and protected
by that serialization. Additionally, all error returns from functions called
(like ia64_pal_mc_drain()) should be handled appropriately.

Signed-off-by: Dean Nelson <dcn@sgi.com>
Acked-by: Jes Sorenson <jes@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/uncached.c