From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753584Ab1I3HSg (ORCPT ); Fri, 30 Sep 2011 03:18:36 -0400 Received: from mx1.redhat.com ([209.132.183.28]:61319 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752682Ab1I3HSc (ORCPT ); Fri, 30 Sep 2011 03:18:32 -0400 From: Johannes Weiner To: Andrew Morton Cc: Mel Gorman , Christoph Hellwig , Dave Chinner , Wu Fengguang , Jan Kara , Rik van Riel , Minchan Kim , Chris Mason , "Theodore Ts'o" , Andreas Dilger , Shaohua Li , xfs@oss.sgi.com, linux-btrfs@vger.kernel.org, linux-ext4@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [patch 0/5] per-zone dirty limits v3 Date: Fri, 30 Sep 2011 09:17:19 +0200 Message-Id: <1317367044-475-1-git-send-email-jweiner@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, this is the third revision of the per-zone dirty limits. Changes from the second version have been mostly documentation, changelog, and naming fixes based on review feedback: o add new dirty_balance_reserve instead of abusing totalreserve_pages for undirtyable (per-zone) reserves and document the variable and its calculation (Mel) o use !ALLOC_WMARK_LOW instead of adding new ALLOC_SLOWPATH (Mel) o rename determine_dirtyable_memory -> global_dirtyable_memory (Andrew) o better explain behaviour on NUMA in changelog (Andrew) o extend changelogs and code comments on how per-zone dirty limits are calculated, and why, and their proportions to the global limit (Mel, Andrew) o kernel-doc zone_dirty_ok() (Andrew) o extend changelogs and code comments on how per-zone dirty limits are used to protect zones from dirty pages (Mel, Andrew) o revert back to a separate set of zone_dirtyable_memory() and zone_dirty_limit() for easier reading (Andrew) Based on v3.1-rc3-mmotm-2011-08-24-14-08. fs/btrfs/file.c | 2 +- include/linux/gfp.h | 4 +- include/linux/mmzone.h | 6 ++ include/linux/swap.h | 1 + include/linux/writeback.h | 1 + mm/filemap.c | 5 +- mm/page-writeback.c | 181 +++++++++++++++++++++++++++++++++------------ mm/page_alloc.c | 48 ++++++++++++ 8 files changed, 197 insertions(+), 51 deletions(-)