Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755623Ab0KHWvW (ORCPT ); Mon, 8 Nov 2010 17:51:22 -0500 Received: from smtp-out.google.com ([216.239.44.51]:34476 "EHLO smtp-out.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752767Ab0KHWvV convert rfc822-to-8bit (ORCPT ); Mon, 8 Nov 2010 17:51:21 -0500 DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=from:to:cc:subject:references:date:in-reply-to:message-id: user-agent:mime-version:content-type:content-transfer-encoding; b=B/i0eIMC1OSinxBnI1nmMYP8RHhKlS4lnAJMHQzCPOvmnlwklNgNTjcSDAZHqw0eC u+wlUO8hg3jtdsfqkrcFA== From: Greg Thelen To: Minchan Kim Cc: Johannes Weiner , Andrew Morton , Dave Young , Andrea Righi , KAMEZAWA Hiroyuki , Daisuke Nishimura , Balbir Singh , Wu Fengguang , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [patch 4/4] memcg: use native word page statistics counters References: <1288973333-7891-1-git-send-email-minchan.kim@gmail.com> <20101106010357.GD23393@cmpxchg.org> <20101107215030.007259800@cmpxchg.org> <20101107220353.964566018@cmpxchg.org> Date: Mon, 08 Nov 2010 14:51:01 -0800 In-Reply-To: (Minchan Kim's message of "Mon, 8 Nov 2010 09:01:54 +0900") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 799 Lines: 18 Minchan Kim writes: > On Mon, Nov 8, 2010 at 7:14 AM, Johannes Weiner wrote: >> The statistic counters are in units of pages, there is no reason to >> make them 64-bit wide on 32-bit machines. >> >> Make them native words.  Since they are signed, this leaves 31 bit on >> 32-bit machines, which can represent roughly 8TB assuming a page size >> of 4k. >> >> Signed-off-by: Johannes Weiner > Reviewed-by: Minchan Kim Reviewed-by: Greg Thelen -- 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/