Re: [PATCH] oom_kill: use rss value instead of vm size for badness

From: Vedran FuraÄ
Date: Sat Nov 07 2009 - 14:22:20 EST


KOSAKI Motohiro wrote:

> Your Xorg have pretty large heap. I'm not sure why it happen. (ATI
> video card issue?)

It is ATI (fglrx), but I don't know if it is driver's issue or not. I
have a lot of apps running, firefox with high number of tabs and so on.
It adds up probably.

> Unfortunatelly, It is showed as normal large heap from kernel. then,
> I doubt kernel can distinguish X from other process. Probably oom-adj
> is most reasonable option....
>
> -------------------------------------------------
> [heap]
> Size: 433812 kB
> Rss: 433304 kB
> Pss: 433304 kB
> Shared_Clean: 0 kB
> Shared_Dirty: 0 kB
> Private_Clean: 280 kB
> Private_Dirty: 433024 kB
> Referenced: 415656 kB
> Swap: 0 kB
> KernelPageSize: 4 kB
> MMUPageSize: 4 kB



--
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/