Re: [PATCH 2/2] mm: Fix documentation of min_unmapped_ratio
From: KOSAKI Motohiro
Date: Tue Jun 16 2009 - 05:41:34 EST
> -A percentage of the total pages in each zone. Zone reclaim will only
> -occur if more than this percentage of pages are file backed and unmapped.
> -This is to insure that a minimal amount of local pages is still available for
> -file I/O even if the node is overallocated.
> +This is a percentage of the total pages in each zone. Zone reclaim will
> +only occur if more than this percentage of pages are in a state that
> +zone_reclaim_mode allows to be reclaimed.
> +
> +If zone_reclaim_mode has the value 4 OR'd, then the percentage is compared
> +against all file-backed unmapped pages including swapcache pages and tmpfs
> +files. Otherwise, only unmapped pages backed by normal files but not tmpfs
> +files and similar are considered.
>
> The default is 1 percent.
looks good.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/