summaryrefslogtreecommitdiff
path: root/arch/s390/lib/uaccess_pt.c
diff options
context:
space:
mode:
authorJoe Korty <joe.korty@ccur.com>2008-03-05 15:04:59 -0800
committerChris Wright <chrisw@sous-sol.org>2008-03-24 11:48:36 -0700
commit0837aca7b42f1bc9cd8dc1cd4d10aa2aaddaf84d (patch)
tree78564df491d112da3ba537ee5abb171255a0205e /arch/s390/lib/uaccess_pt.c
parentc0715b44c9330454e7f8a1b271f5f6e1ed849614 (diff)
slab: NUMA slab allocator migration bugfix
NUMA slab allocator cpu migration bugfix The NUMA slab allocator (specifically, cache_alloc_refill) is not refreshing its local copies of what cpu and what numa node it is on, when it drops and reacquires the irq block that it inherited from its caller. As a result those values become invalid if an attempt to migrate the process to another numa node occured while the irq block had been dropped. The solution is to make cache_alloc_refill reload these variables whenever it drops and reacquires the irq block. The error is very difficult to hit. When it does occur, one gets the following oops + stack traceback bits in check_spinlock_acquired: kernel BUG at mm/slab.c:2417 cache_alloc_refill+0xe6 kmem_cache_alloc+0xd0 ... This patch was developed against 2.6.23, ported to and compiled-tested only against 2.6.25-rc4. Signed-off-by: Joe Korty <joe.korty@ccur.com> Signed-off-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Diffstat (limited to 'arch/s390/lib/uaccess_pt.c')
0 files changed, 0 insertions, 0 deletions