Re: 2.6.22-stable causes oomkiller to be invoked

From: Dhaval Giani
Date: Fri Dec 28 2007 - 05:12:06 EST


On Thu, Dec 27, 2007 at 11:22:34AM -0800, Christoph Lameter wrote:
> On Thu, 27 Dec 2007, Dhaval Giani wrote:
>
> > anything specific you are looking for? I still hit the oom.
>
> Weird.... WTH is this? You run an unmodified upstream tree? Can you add a
> printk in quicklist_trim that shows
>

Hi,

I am running 2.6.24-rc5-mm1 here.

> A) that it is called
>
> B) what the control values q->nr_pages and min_pages are?
>

Trying to print these using printks renders the system unbootable. With
help from RAS folks around me, managed to get a systemtap script,

probe kernel.statement("quicklist_trim@mm/quicklist.c:56")
{
printf(" q->nr_pages is %d, min_pages is %d ----> %s\n",
$q->nr_pages, $$
min_pages, execname());
}

we managed to get your required information. Last 10,000 lines are
attached (The uncompressed file comes to 500 kb).

Hope it helps.

Thanks,
--
regards,
Dhaval

Attachment: systp.out.1.bz2
Description: BZip2 compressed data