Re: PATCH - raise max_anon limit

From: Tim Hockin
Date: Wed Feb 11 2004 - 17:33:44 EST


On Wed, Feb 11, 2004 at 01:53:25PM -0800, Andrew Morton wrote:
> > How's this then? It doesn't get any simpler..
>
> Well it is lazy, wastes 0.4% of a 2M machine's memory and still has a
> hard-wired limit.
>
> Wanna test this?

sure:

-------------------
sysfs: could not mount!
Unable to handle kernel paging request at virtual address ffffff01
printing eip:
c014d288
*pde = 00000000
Oops: 0000 [#1]
CPU: 0
EIP: 0060:[<c014d288>] Not tainted
EFLAGS: 00010086
EIP is at kmem_cache_alloc+0x2d/0x76
eax: 00000000 ebx: 00000246 ecx: c0450f4c edx: ffffff01
esi: 000000d0 edi: 00000000 ebp: c04b5ef4 esp: c04b5ee0
ds: 007b es: 007b ss: 0068
Process swapper (pid: 0, threadinfo=c04b4000 task=c044a7a0)
Stack: c03f6606 00000740 c0450f4c f7fe9e00 c0539e68 c04b5f14 c025f671 00000000
000000d0 00000000 c0450f4c f7fe9e00 c0454220 c04b5f28 c0170c77 c0539e68
00000077 00000000 c04b5f48 c016fecc f7fe9e00 00000000 f7fe9e00 f7fe74c0
Call Trace:
[<c025f671>] idr_pre_get+0x39/0xc5
[<c0170c77>] set_anon_super+0x3d/0x89
[<c016fecc>] sget+0xf2/0x22b
[<c0170f66>] get_sb_nodev+0x32/0x8e
[<c0170c3a>] set_anon_super+0x0/0x89
[<c01710d8>] do_kern_mount+0x56/0xc5
[<c01d67b8>] ramfs_fill_super+0x0/0x75
[<c0105000>] rest_init+0x0/0x93
[<c04c90ac>] init_mount_tree+0x2d/0x191
[<c0105000>] rest_init+0x0/0x93
[<c04c8eb9>] vfs_caches_init+0xa4/0xc8
[<c016910c>] filp_ctor+0x0/0xb4
[<c01691c0>] filp_dtor+0x0/0xac
[<c04b6818>] start_kernel+0x15d/0x1e5
[<c04b6427>] unknown_bootoption+0x0/0xfa

Code: 8b 02 85 c0 74 1f 83 e8 01 c7 42 0c 01 00 00 00 89 02 8b 44
<0>Kernel panic: Attempted to kill the idle task!
In idle task - not syncing
-------------------


This was a lab machine, and I'm not at the lab. I'll try to get someone to
reboot it for me. :P
-
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/