Zitiere Andi Kleen <ak@suse.de>:
>
> - Fix the reaction to memory pressure. The current
measures (deleting
> all caches on the slightest bit of memory pressure) is
too radical.
I have improved it a little bit:
I use a clock algorithm and scan the next 10 caches,
then I free 80% (but at least one) of the unused slabs.
One warning: "cat /proc/slabinfo" causes random memory
corruption, please be carefull if you test the patch.
I'll upload a new patch in a few hours.
-- Manfred----------------------------------------------------- This mail sent through IMP: http://web.horde.org/imp/
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:21 EST