> + * Do the pageout for at most one jiffy.
> */
> + start =jiffies;
> do {
> do_try_to_free_page(0);
> + if (free_memory_available() == 2 && buffer_under_max()
> + && pgcache_under_max())
> break;
> + } while (jiffies == start);
> Note also the fix to kswapd that now stop only if the buffer and page
> cache are under max.
I like this patch; I see now where Linus and you are
going. I guess I was just to frustrated with my switching
my keyboard to dvorak last night to properly think :)
Rik -- typing slowly because my kbd is dvorak since sun 19:40...
+-------------------------------------------------------------------+
| Linux memory management tour guide. H.H.vanRiel@phys.uu.nl |
| Scouting Vries cubscout leader. http://www.phys.uu.nl/~riel/ |
+-------------------------------------------------------------------+
-
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/