Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752259Ab1B1CfM (ORCPT ); Sun, 27 Feb 2011 21:35:12 -0500 Received: from fgwmail5.fujitsu.co.jp ([192.51.44.35]:49386 "EHLO fgwmail5.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752096Ab1B1CfK (ORCPT ); Sun, 27 Feb 2011 21:35:10 -0500 X-SecurityPolicyCheck-FJ: OK by FujitsuOutboundMailChecker v1.3.1 Date: Mon, 28 Feb 2011 11:28:46 +0900 From: KAMEZAWA Hiroyuki To: Greg Thelen Cc: Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org, containers@lists.osdl.org, Andrea Righi , Balbir Singh , Daisuke Nishimura , Minchan Kim , Ciju Rajan K , David Rientjes , Wu Fengguang , Chad Talbott , Justin TerAvest , Vivek Goyal Subject: Re: [PATCH v5 3/9] writeback: convert variables to unsigned Message-Id: <20110228112846.454cea86.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <1298669760-26344-4-git-send-email-gthelen@google.com> References: <1298669760-26344-1-git-send-email-gthelen@google.com> <1298669760-26344-4-git-send-email-gthelen@google.com> Organization: FUJITSU Co. LTD. X-Mailer: Sylpheed 3.1.0 (GTK+ 2.10.14; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 773 Lines: 19 On Fri, 25 Feb 2011 13:35:54 -0800 Greg Thelen wrote: > Convert two balance_dirty_pages() page counter variables (nr_reclaimable > and nr_writeback) from 'long' to 'unsigned long'. > > These two variables are used to store results from global_page_state(). > global_page_state() returns unsigned long and carefully sums per-cpu > counters explicitly avoiding returning a negative value. > > Signed-off-by: Greg Thelen Reviewd-by: KAMEZAWA Hiroyuki -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/