]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitf11c0937bbb0c55ed1331506fdb7a2be425ec4ba
tree124cf66b19d5e3d8e32985a15ac2a3f45b863e15
parentb26e3ce5fef9188b45ab2d81a7432f960773c2c0
[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