lkml.org 
[lkml]   [2001]   [Nov]   [4]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSun, 4 Nov 2001 14:36:34 -0200 (BRST)
FromRik van Riel <>
SubjectRe: [RFC][PATCH] vm_swap_full
On Sun, 4 Nov 2001, Ed Tomlinson wrote:

> -/* Swap 50% full? Release swapcache more aggressively.. */
> -#define vm_swap_full() (nr_swap_pages*2 < total_swap_pages)
> +/* Free swap less than inactive pages? Release swapcache more aggressively.. */
> +#define vm_swap_full() (nr_swap_pages < nr_inactive_pages)

> Comments?

Makes absolutely no sense for systems which have more
swap than RAM, eg. a 64MB system with 200MB of swap.

Rik
-- 
DMCA, SSSCA, W3C?  Who cares?  http://thefreeworld.net/

http://www.surriel.com/		http://distro.conectiva.com/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:12    [from the cache]
©2003-2008