Re: 2.6.10-rc3: kswapd eats CPU on start of memory-eating task

From: Voluspa
Date: Mon Dec 20 2004 - 03:34:36 EST


[PATCH] token based thrashing control

Backing that one out 2.6.9-rc1 behaves just like, ie no freezes and
swapping done in 1 minute in my testcase. Tested both with and without lapic=lapic
(due to my own mind demons ;-)

If someone doubt my ability to back out a patch, here's how it looked:

root:loke:/usr/src/debug/1-mydebug/linux-2.6.9-rc1-debug-notoken# patch -
Rp1 -i
patching file include/linux/sched.h
patching file include/linux/swap.h
patching file kernel/fork.c
patching file mm/Makefile
patching file mm/filemap.c
Hunk #1 succeeded at 1246 (offset 51 lines).
patching file mm/memory.c
patching file mm/rmap.c
patching file mm/thrash.c

Then I diffed the original tree and this notoken-tree and eyeball-compared it
with the patch (had to first delete a mm/filemap.c~ backup left by the patch
program). Was all OK.

Would be nice though if someone else could verify...

This is also that time of the year when no strict timetables can be made. I'll
be available on and off for the next 48 hours if some testing needs to be

Mats Johannesson

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