Re: 2.6.22-stable causes oomkiller to be invoked

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Dhaval Giani <dhaval@...>
Cc: <htejun@...>, <gregkh@...>, <stable@...>, <linux-kernel@...>, <maneesh@...>, <vatsa@...>, <balbir@...>, <ego@...>, <linux-mm@...>
Date: Friday, December 14, 2007 - 7:05 pm

On Fri, 14 Dec 2007 23:58:02 +0530
Dhaval Giani <dhaval@linux.vnet.ibm.com> wrote:


OK, so you're leaking pgd's on a fork-intensive load.  It's a 4G i386
highmem system but I'm sure there are enough of those out there (still) for
this bug to have been promptly reported if it was generally occurring.

There's something special about either your setup or the test which you're
running.

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

?

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?  

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: 2.6.22-stable causes oomkiller to be invoked, Dhaval Giani, (Fri Dec 14, 11:47 am)
Re: 2.6.22-stable causes oomkiller to be invoked, Tejun Heo, (Fri Dec 14, 11:54 am)
Re: 2.6.22-stable causes oomkiller to be invoked, Dhaval Giani, (Fri Dec 14, 12:16 pm)
Re: 2.6.22-stable causes oomkiller to be invoked, Andrew Morton, (Fri Dec 14, 1:50 pm)
Re: 2.6.22-stable causes oomkiller to be invoked, Dhaval Giani, (Fri Dec 14, 2:28 pm)
Re: 2.6.22-stable causes oomkiller to be invoked, Andrew Morton, (Fri Dec 14, 7:05 pm)
Re: 2.6.22-stable causes oomkiller to be invoked, Dhaval Giani, (Fri Dec 14, 11:52 pm)