lkml.org 
[lkml]   [2001]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[PATCH] minor page aging update
Hi Alan,

here is the promised minor page aging update to 2.4.9-ac15:

1) use min()/max() for age_page_{up,down}, now the
thing is resistant to people changing PAGE_AGE_DECL ;)

2) in try_to_swap_out(), still adjust the page age even if
the zone does have enough inactive pages ... this is a
very cheap operation and will keep the page aging info
in zones better up to date

3) only call do_try_to_free_pages() when we have a free
shortage, this means kswapd() won't waste CPU time on
working sets which fit in memory, but "spill over"
into the inactive list ... also update comments a bit

4) remove run_task_queue(&tq_disk) from kswapd() since
page_launder() will already have done this if needed

regards,

Rik
--
IA64: a worthy successor to the i860.

http://www.surriel.com/
http://www.conectiva.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 13:03    [W:0.037 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site