Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754901Ab1CVAFO (ORCPT ); Mon, 21 Mar 2011 20:05:14 -0400 Received: from fgwmail5.fujitsu.co.jp ([192.51.44.35]:42655 "EHLO fgwmail5.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753957Ab1CVAFJ (ORCPT ); Mon, 21 Mar 2011 20:05:09 -0400 X-SecurityPolicyCheck-FJ: OK by FujitsuOutboundMailChecker v1.3.1 Date: Tue, 22 Mar 2011 08:58:44 +0900 From: KAMEZAWA Hiroyuki To: Namhyung Kim Cc: Paul Menage , Li Zefan , containers@lists.linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/3] memcg: fix off-by-one when calculating swap cgroup map length Message-Id: <20110322085844.31041d40.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <1300452855-10194-2-git-send-email-namhyung@gmail.com> References: <1300452855-10194-1-git-send-email-namhyung@gmail.com> <1300452855-10194-2-git-send-email-namhyung@gmail.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: 587 Lines: 16 On Fri, 18 Mar 2011 21:54:14 +0900 Namhyung Kim wrote: > It allocated one more page than necessary if @max_pages was > a multiple of SC_PER_PAGE. > > Signed-off-by: Namhyung Kim > Cc: KAMEZAWA Hiroyuki Acked-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/