linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] minor page aging update
@ 2001-09-24 20:38 Rik van Riel
  2001-09-24 20:39 ` Rik van Riel
  0 siblings, 1 reply; 2+ messages in thread
From: Rik van Riel @ 2001-09-24 20:38 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-mm, linux-kernel

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, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-09-24 20:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-24 20:38 [PATCH] minor page aging update Rik van Riel
2001-09-24 20:39 ` Rik van Riel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox