Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932476Ab2F2Szv (ORCPT ); Fri, 29 Jun 2012 14:55:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:5563 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932072Ab2F2Szu (ORCPT ); Fri, 29 Jun 2012 14:55:50 -0400 Message-ID: <4FEDF9D4.2080504@redhat.com> Date: Fri, 29 Jun 2012 14:54:12 -0400 From: Rik van Riel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: Andrea Arcangeli CC: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Hillf Danton , Dan Smith , Peter Zijlstra , Linus Torvalds , Andrew Morton , Thomas Gleixner , Ingo Molnar , Paul Turner , Suresh Siddha , Mike Galbraith , "Paul E. McKenney" , Lai Jiangshan , Bharata B Rao , Lee Schermerhorn , Johannes Weiner , Srivatsa Vaddagiri , Christoph Lameter , Alex Shi , Mauricio Faria de Oliveira , Konrad Rzeszutek Wilk , Don Morris , Benjamin Herrenschmidt Subject: Re: [PATCH 20/40] autonuma: alloc/free/init mm_autonuma References: <1340888180-15355-1-git-send-email-aarcange@redhat.com> <1340888180-15355-21-git-send-email-aarcange@redhat.com> In-Reply-To: <1340888180-15355-21-git-send-email-aarcange@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 842 Lines: 21 On 06/28/2012 08:56 AM, Andrea Arcangeli wrote: > This is where the mm_autonuma structure is being handled. Just like > sched_autonuma, this is only allocated at runtime if the hardware the > kernel is running on has been detected as NUMA. On not NUMA hardware > the memory cost is reduced to one pointer per mm. > > To get rid of the pointer in the each mm, the kernel can be compiled > with CONFIG_AUTONUMA=n. > > Signed-off-by: Andrea Arcangeli Same comments as before. A description of what the data structure is used for and how would be good. -- All rights reversed -- 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/