On Fri, 6 Feb 2004, [koi8-r] "Good Oleg[koi8-r] " wrote:
PC(see below) 256Mib of RAM, linux-2.6.2, 300Mib swap file (swapon /mnt/swap/swap)
When programs cause big memory usage i have this
(since my 2.4.22 to 2.6.0-test11 migration):
Feb 6 02:26:27 gluon kernel: ------------[ cut here ]------------
Feb 6 02:26:27 gluon kernel: kernel BUG at mm/swapfile.c:806!
Feb 6 02:26:27 gluon kernel: invalid operand: 0000 [#1]
Feb 6 02:26:27 gluon kernel: CPU: 0
Feb 6 02:26:27 gluon kernel: EIP: 0060:[<c015c7c4>] Tainted: PFS
Feb 6 02:26:27 gluon kernel: EFLAGS: 00010246
Feb 6 02:26:27 gluon kernel: EIP is at map_swap_page+0x34/0x60
[ helpful info snipped ]
Interesting, thank you. That's the second report (first on 16 Jan,
and in that case Not Tainted). I looked around and found some bugs in
the swapfile page accounting (if swapfile filesystem blocksize < 4k:
is yours? never heard back from Marcel on that) - still intermittently
working on and testing the fixes there - but in the end nothing which
would actually cause this BUG. Was rather thinking it came from slab
corruption, but a second report makes that (a little) less likely.
I'll look again later on, but other eyes may find it sooner.
Hugh