diff options
author | Christoph Lameter <clameter@engr.sgi.com> | 2005-09-22 21:44:02 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-22 22:17:35 -0700 |
commit | ff69416e6323fe9d38c42a06ebdefeb58bbe9336 (patch) | |
tree | c97b81660f38ff7a06196dc47b92bd5f44c26305 /fs/ext3/super.c | |
parent | 57487f4376e16558ccbe45a5b41d8cb5192309a4 (diff) | |
download | blackbird-op-linux-ff69416e6323fe9d38c42a06ebdefeb58bbe9336.tar.gz blackbird-op-linux-ff69416e6323fe9d38c42a06ebdefeb58bbe9336.zip |
[PATCH] slab: fix handling of pages from foreign NUMA nodes
The numa slab allocator may allocate pages from foreign nodes onto the
lists for a particular node if a node runs out of memory. Inspecting the
slab->nodeid field will not reflect that the page is now in use for the
slabs of another node.
This patch fixes that issue by adding a node field to free_block so that
the caller can indicate which node currently uses a slab.
Also removes the check for the current node from kmalloc_cache_node since
the process may shift later to another node which may lead to an allocation
on another node than intended.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/ext3/super.c')
0 files changed, 0 insertions, 0 deletions