Subject: + mm-improve-the-description-for-dirty_background_ratio-dirty_ratio-sysctl.patch added to -mm tree To: wenqing.lz@xxxxxxxxxx,rob@xxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Mon, 04 Nov 2013 13:44:48 -0800 The patch titled Subject: mm: improve the description for dirty_background_ratio/dirty_ratio sysctl has been added to the -mm tree. Its filename is mm-improve-the-description-for-dirty_background_ratio-dirty_ratio-sysctl.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-improve-the-description-for-dirty_background_ratio-dirty_ratio-sysctl.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-improve-the-description-for-dirty_background_ratio-dirty_ratio-sysctl.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Zheng Liu <wenqing.lz@xxxxxxxxxx> Subject: mm: improve the description for dirty_background_ratio/dirty_ratio sysctl Now dirty_background_ratio/dirty_ratio contains a percentage of total avaiable memory, which contains free pages and reclaimable pages. The number of these pages is not equal to the number of total system memory. But they are described as a percentage of total system memory in Documentation/sysctl/vm.txt. So we need to fix them to avoid misunderstanding. Signed-off-by: Zheng Liu <wenqing.lz@xxxxxxxxxx> Cc: Rob Landley <rob@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- Documentation/sysctl/vm.txt | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff -puN Documentation/sysctl/vm.txt~mm-improve-the-description-for-dirty_background_ratio-dirty_ratio-sysctl Documentation/sysctl/vm.txt --- a/Documentation/sysctl/vm.txt~mm-improve-the-description-for-dirty_background_ratio-dirty_ratio-sysctl +++ a/Documentation/sysctl/vm.txt @@ -119,8 +119,11 @@ other appears as 0 when read. dirty_background_ratio -Contains, as a percentage of total system memory, the number of pages at which -the background kernel flusher threads will start writing out dirty data. +Contains, as a percentage of total available memory that contains free pages +and reclaimable pages, the number of pages at which the background kernel +flusher threads will start writing out dirty data. + +The total avaiable memory is not equal to total system memory. ============================================================== @@ -151,9 +154,11 @@ interval will be written out next time a dirty_ratio -Contains, as a percentage of total system memory, the number of pages at which -a process which is generating disk writes will itself start writing out dirty -data. +Contains, as a percentage of total available memory that contains free pages +and reclaimable pages, the number of pages at which a process which is +generating disk writes will itself start writing out dirty data. + +The total avaiable memory is not equal to total system memory. ============================================================== _ Patches currently in -mm which might be from wenqing.lz@xxxxxxxxxx are mm-improve-the-description-for-dirty_background_ratio-dirty_ratio-sysctl.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html