Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753053Ab1BQFfK (ORCPT ); Thu, 17 Feb 2011 00:35:10 -0500 Received: from smtp-out.google.com ([74.125.121.67]:41090 "EHLO smtp-out.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750807Ab1BQFfI (ORCPT ); Thu, 17 Feb 2011 00:35:08 -0500 DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=from:to:cc:subject:date:message-id:x-mailer; b=Y8PBQ0SfUIXxb9NoZaMlodA3FI5pOC/22A1AoihCFcxzthJ8CUl1yh3r5JOKt43ny Jf4VBHikPcL7+jf8Wdc/w== From: Greg Thelen To: Andrew Morton Cc: Johannes Weiner , Balbir Singh , KAMEZAWA Hiroyuki , Daisuke Nishimura , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Greg Thelen Subject: [PATCH v2 0/2] memcg: variable type fixes Date: Wed, 16 Feb 2011 21:34:00 -0800 Message-Id: <1297920842-17299-1-git-send-email-gthelen@google.com> X-Mailer: git-send-email 1.7.3.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1325 Lines: 35 This is a two part series that is a cleanup of memcg internal counters. These two patches were originally proposed by Johannes Weiner [1]. The original series was based on an older mmotm, so I had to massage the patches a little. The patches are now based on mmotm-2011-02-10-16-26. Patch 1 implements the idea that memcg only has to use signed types for some of the counters, but not for the constant monotonically increasing event counters where the sign-bit is a waste. Originally proposed in [2]. Patch 2 converts the memcg fundamental page statistics counters to native words as they should be wide enough for the expected values. Originally proposed in [3]. References: [1] https://lkml.org/lkml/2010/11/7/170 [2] https://lkml.org/lkml/2010/11/7/174 [3] https://lkml.org/lkml/2010/11/7/171 Johannes Weiner (2): memcg: break out event counters from other stats memcg: use native word page statistics counters mm/memcontrol.c | 78 ++++++++++++++++++++++++++++++++++++------------------- 1 files changed, 51 insertions(+), 27 deletions(-) -- 1.7.3.1 -- 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/