* Documentation/vm/balance really outdated
@ 2004-08-25 18:45 Marcelo Tosatti
2004-08-25 20:46 ` Kanoj Sarcar
2004-08-25 20:54 ` William Lee Irwin III
0 siblings, 2 replies; 3+ messages in thread
From: Marcelo Tosatti @ 2004-08-25 18:45 UTC (permalink / raw)
To: linux-mm, akpm
Hi guys,
The file Documentation/vm/balance was written by Kanoj in 2000, and is completly outdated
to what we have now.
Last paragraph:
pages_min/pages_low/pages_high/low_on_memory/zone_wake_kswapd: These are
per-zone fields, used to determine when a zone needs to be balanced. When
the number of pages falls below pages_min, the hysteric field low_on_memory
gets set. This stays set till the number of free pages becomes pages_high.
When low_on_memory is set, page allocation requests will try to free some
pages in the zone (providing GFP_WAIT is set in the request). Orthogonal
to this, is the decision to poke kswapd to free some zone pages. That
decision is not hysteresis based, and is done when the number of free
pages is below pages_low; in which case zone_wake_kswapd is also set.
Should we just remove it?
--
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/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Documentation/vm/balance really outdated
2004-08-25 18:45 Documentation/vm/balance really outdated Marcelo Tosatti
@ 2004-08-25 20:46 ` Kanoj Sarcar
2004-08-25 20:54 ` William Lee Irwin III
1 sibling, 0 replies; 3+ messages in thread
From: Kanoj Sarcar @ 2004-08-25 20:46 UTC (permalink / raw)
To: Marcelo Tosatti, linux-mm, akpm
Hi,
--- Marcelo Tosatti <marcelo.tosatti@cyclades.com>
wrote:
> Hi guys,
>
> The file Documentation/vm/balance was written by
> Kanoj in 2000, and is completly outdated
> to what we have now.
>
> Last paragraph:
>
>
pages_min/pages_low/pages_high/low_on_memory/zone_wake_kswapd:
> These are
> per-zone fields, used to determine when a zone needs
> to be balanced. When
> the number of pages falls below pages_min, the
> hysteric field low_on_memory
> gets set. This stays set till the number of free
> pages becomes pages_high.
> When low_on_memory is set, page allocation requests
> will try to free some
> pages in the zone (providing GFP_WAIT is set in the
> request). Orthogonal
> to this, is the decision to poke kswapd to free some
> zone pages. That
> decision is not hysteresis based, and is done when
> the number of free
> pages is below pages_low; in which case
> zone_wake_kswapd is also set.
>
> Should we just remove it?
>
Thats the easy solution; a better one would be if
some (one | people) volunteer(s) to update that file.
If you do remove it, also consider the files "numa"
and "locking" for removal/updates, I know they are
also quite out of date.
Thanks.
Kanoj
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail
--
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/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Documentation/vm/balance really outdated
2004-08-25 18:45 Documentation/vm/balance really outdated Marcelo Tosatti
2004-08-25 20:46 ` Kanoj Sarcar
@ 2004-08-25 20:54 ` William Lee Irwin III
1 sibling, 0 replies; 3+ messages in thread
From: William Lee Irwin III @ 2004-08-25 20:54 UTC (permalink / raw)
To: Marcelo Tosatti; +Cc: linux-mm, akpm
On Wed, Aug 25, 2004 at 03:45:20PM -0300, Marcelo Tosatti wrote:
> The file Documentation/vm/balance was written by Kanoj in 2000, and
> is completly outdated to what we have now.
> Last paragraph:
> pages_min/pages_low/pages_high/low_on_memory/zone_wake_kswapd: These are
> per-zone fields, used to determine when a zone needs to be balanced. When
> the number of pages falls below pages_min, the hysteric field low_on_memory
> gets set. This stays set till the number of free pages becomes pages_high.
> When low_on_memory is set, page allocation requests will try to free some
> pages in the zone (providing GFP_WAIT is set in the request). Orthogonal
> to this, is the decision to poke kswapd to free some zone pages. That
> decision is not hysteresis based, and is done when the number of free
> pages is below pages_low; in which case zone_wake_kswapd is also set.
> Should we just remove it?
pages_min, pages_low, and pages_high are still in use, but with more
precisely-defined semantics. low_on_memory is gone, and min_free_kb,
overcommit_memory, and swappiness have arrived for different purposes.
I find the value of this documentation rather unclear particularly given
that it's not been examined in so long. Maybe kerneldoc is the way.
-- wli
--
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/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-08-25 20:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-25 18:45 Documentation/vm/balance really outdated Marcelo Tosatti
2004-08-25 20:46 ` Kanoj Sarcar
2004-08-25 20:54 ` William Lee Irwin III
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox