mlock oops

From: Benoit Dejean
Date: Mon Jul 25 2005 - 21:45:10 EST


Hi,
i'm using Debian SID kernel-image-2.6.11-powerpc [1] (which is not
tainted). I've unfortunately started sysutils [2] memtest as user (no caps, no
sticky bit).

/usr/sbin/memtest all

I was expecting the OOMK to rescue my system by killing memtest.
As expected, a few minutes later, my system was back. But an oops occured.
Here's dmesg output :

oom-killer: gfp_mask=0xd2
DMA per-cpu:
cpu 0 hot: low 32, high 96, batch 16
cpu 0 cold: low 0, high 32, batch 16
Normal per-cpu: empty
HighMem per-cpu: empty

Free pages: 2856kB (0kB HighMem)
Active:57185 inactive:57079 dirty:0 writeback:0 unstable:0 free:714
slab:3825 mapped:114890 pagetables:822
DMA free:2856kB min:2896kB low:3620kB high:4344kB active:228740kB
inactive:228316kB present:524288kB pages_scanned:538055
all_unreclaimable? yes
lowmem_reserve[]: 0 0 0
Normal free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB
present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0
HighMem free:0kB min:128kB low:160kB high:192kB active:0kB
inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0
DMA: 0*4kB 1*8kB 32*16kB 23*32kB 3*64kB 1*128kB 1*256kB 0*512kB
1*1024kB 0*2048kB 0*4096kB = 2856kB
Normal: empty
HighMem: empty
Swap cache: add 332526, delete 218150, find 72396/87670, race 0+0
Free swap = 219592kB
Total swap = 976540kB
Out of Memory: Killed process 2386 (memtest).
memtest: page allocation failure. order:0, mode:0xd2
Call trace:
[c0007450] dump_stack+0x18/0x28
[c003fa2c] __alloc_pages+0x2a4/0x3e4
[c004ce80] do_anonymous_page+0x98/0x4c8
[c004d320] do_no_page+0x70/0x798
[c004dc9c] handle_mm_fault+0xe8/0x1d8
[c004afa0] get_user_pages+0x124/0x4c4
[c004de20] make_pages_present+0x88/0xbc
[c004e4ec] mlock_fixup+0xe4/0xe8
[c004e5f0] do_mlock+0x100/0x104
[c004e6b8] sys_mlock+0xc4/0x114
[c0004290] ret_from_syscall+0x0/0x4c


Thanks.


[1] http://packages.debian.org/unstable/base/kernel-image-2.6.11-powerpc
[2] http://packages.debian.org/stable/utils/sysutils
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/