diff options
author | Minchan Kim <minchan.kim@gmail.com> | 2009-06-17 00:32:49 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-17 04:47:42 +0200 |
commit | 96cb4df5ddf5e6d5785b5acd4003e3689b87f896 (patch) | |
tree | e6bd74df480e9065617aebec29b4285fa021c919 /mm/internal.h | |
parent | page-allocator: clean up functions related to pages_min (diff) | |
download | linux-96cb4df5ddf5e6d5785b5acd4003e3689b87f896.tar.xz linux-96cb4df5ddf5e6d5785b5acd4003e3689b87f896.zip |
page-allocator: add inactive ratio calculation function of each zone
Factor the per-zone arithemetic inside setup_per_zone_inactive_ratio()'s
loop into a a separate function, calculate_zone_inactive_ratio(). This
function will be used in a later patch
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Minchan Kim <minchan.kim@gmail.com>
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/internal.h')
0 files changed, 0 insertions, 0 deletions