Re: 2.6.22-stable causes oomkiller to be invoked
From: Dhaval Giani <hidden>
Date: 2007-12-15 03:52:50
Also in:
lkml
Is it really the case that the bug only turns up when you run tests like while echo; do cat /sys/kernel/kexec_crash_loaded; done and while echo; do cat /sys/kernel/uevent_seqnum ; done; or will any fork-intensive workload also do it? Say, while echo ; do true ; done
This does not leak, but having a simple text file and reading it in a loop causes it.
? Another interesting factoid here is that after the oomkilling you slabinfo has mm_struct 38 98 584 7 1 : tunables 32 16 8 : slabdata 14 14 0 : globalstat 2781 196 49 31 0 1 0 0 0 : cpustat 368800 11864 368920 11721 so we aren't leaking mm_structs. In fact we aren't leaking anything from slab. But we are leaking pgds. iirc the most recent change we've made in the pgd_t area is the quicklist management which went into 2.6.22-rc1. You say the bug was present in 2.6.22. Can you test 2.6.21?
Nope, leak is not present in 2.6.21.7 -- regards, Dhaval -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>