Re: Linux 2.6.9-ac16

From: Chris Ross
Date: Fri Dec 17 2004 - 10:47:15 EST

Hi Chris,

Chris Friesen escreveu:
As it stands, 2.6.10-rc2-mm4 still shows nasty behaviour in OOM
conditions, killing off more tasks than strictly required, and
locking up the system for 10-15secs while doing it.

I'd be much happier doing a quick and dirty scan and knocking off something *now* rather than locking up the system. Surely it can't
take 60 billion cycles of cpu time to pick a task to kill.

Thomas Gleixner has been particularly interested the algorithms for deciding which task to kill (like me he got fed up with it picking the ssh daemon first).

See for example the thread at

Some of the delay is by design: when OOM is reached we kill something off, wait a bit for the memory to be freed and become available to the system again, check whether now have enough memory, if not rinse and repeat. However, as I recall this is compounded by 2.6.9 having some nasty rentrancy problems causing the OOM killer to be called something like 100 times instead of once.

Perhaps Thomas could enlighten us as to the current state of play here?

Chris R.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at