From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755439Ab1BJMnG (ORCPT ); Thu, 10 Feb 2011 07:43:06 -0500 Received: from zene.cmpxchg.org ([85.214.230.12]:56858 "EHLO zene.cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751123Ab1BJMnF (ORCPT ); Thu, 10 Feb 2011 07:43:05 -0500 Date: Thu, 10 Feb 2011 13:42:53 +0100 From: Johannes Weiner To: KAMEZAWA Hiroyuki Cc: Andrew Morton , Daisuke Nishimura , Balbir Singh , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [patch 0/4] memcg: operate on page quantities internally Message-ID: <20110210124253.GO27110@cmpxchg.org> References: <1297249313-23746-1-git-send-email-hannes@cmpxchg.org> <20110210085034.a6c5d703.kamezawa.hiroyu@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110210085034.a6c5d703.kamezawa.hiroyu@jp.fujitsu.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 10, 2011 at 08:50:34AM +0900, KAMEZAWA Hiroyuki wrote: > On Wed, 9 Feb 2011 12:01:49 +0100 > Johannes Weiner wrote: > > If I did not miss anything, this should leave only res_counter and > > user-visible stuff in bytes. The ABI probably won't change, so next > > up is converting res_counter to operate on page quantities. > > Hmm, I think this should be done but think this should be postphoned, too. > Because, IIUC, some guys will try to discuss charging against kernel objects > in the next mm-summit. IMHO, it will be done against PAGE not against > Object even if we do kernel object accouting. So this patch is okay for me. > But I think it's better to go ahead after we confirm the way we go. > How do you think ? That makes sense, let's leave res_counter alone until we have hashed this out. > Anyway, I welcome this patch. Thanks for reviewing, Hannes