From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755879Ab2JDTLy (ORCPT ); Thu, 4 Oct 2012 15:11:54 -0400 Received: from a193-30.smtp-out.amazonses.com ([199.255.193.30]:13186 "EHLO a193-30.smtp-out.amazonses.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751572Ab2JDTLx (ORCPT ); Thu, 4 Oct 2012 15:11:53 -0400 Date: Thu, 4 Oct 2012 19:11:51 +0000 From: Christoph Lameter X-X-Sender: cl@gentwo.org To: Andrea Arcangeli cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Linus Torvalds , Andrew Morton , Peter Zijlstra , Ingo Molnar , Mel Gorman , Hugh Dickins , Rik van Riel , Johannes Weiner , Hillf Danton , Andrew Jones , Dan Smith , Thomas Gleixner , Paul Turner , Suresh Siddha , Mike Galbraith , "Paul E. McKenney" Subject: Re: [PATCH 29/33] autonuma: page_autonuma In-Reply-To: <20121004183819.GM25675@redhat.com> Message-ID: <0000013a2d30ebf2-1a2bb821-92a0-464b-9db0-f960b2fd074d-000000@email.amazonses.com> References: <20121004165008.GF25675@redhat.com> <0000013a2cff3c3d-76e00716-2869-4dc8-8717-82f0136018d0-000000@email.amazonses.com> <20121004183819.GM25675@redhat.com> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SES-Outgoing: 199.255.193.30 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 4 Oct 2012, Andrea Arcangeli wrote: > If you mean CONFIG_AUTONUMA=y should select (not depend) on > CONFIG_HAVE_ALIGNED_STRUCT_PAGE, that would allow to enable it in all > .configs but it would have a worse cons: losing 8bytes per page > unconditionally (even when booting on non-NUMA hardware). I did not say anything like that. Still not convinced that autonuma is worth doing and that it is beneficial given the complexity it adds to the kernel. Just wanted to point out that there is a case to be made for adding another word to the page struct. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx112.postini.com [74.125.245.112]) by kanga.kvack.org (Postfix) with SMTP id 2582C6B013A for ; Thu, 4 Oct 2012 15:11:53 -0400 (EDT) Date: Thu, 4 Oct 2012 19:11:51 +0000 From: Christoph Lameter Subject: Re: [PATCH 29/33] autonuma: page_autonuma In-Reply-To: <20121004183819.GM25675@redhat.com> Message-ID: <0000013a2d30ebf2-1a2bb821-92a0-464b-9db0-f960b2fd074d-000000@email.amazonses.com> References: <20121004165008.GF25675@redhat.com> <0000013a2cff3c3d-76e00716-2869-4dc8-8717-82f0136018d0-000000@email.amazonses.com> <20121004183819.GM25675@redhat.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Andrea Arcangeli Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Linus Torvalds , Andrew Morton , Peter Zijlstra , Ingo Molnar , Mel Gorman , Hugh Dickins , Rik van Riel , Johannes Weiner , Hillf Danton , Andrew Jones , Dan Smith , Thomas Gleixner , Paul Turner , Suresh Siddha , Mike Galbraith , "Paul E. McKenney" On Thu, 4 Oct 2012, Andrea Arcangeli wrote: > If you mean CONFIG_AUTONUMA=y should select (not depend) on > CONFIG_HAVE_ALIGNED_STRUCT_PAGE, that would allow to enable it in all > .configs but it would have a worse cons: losing 8bytes per page > unconditionally (even when booting on non-NUMA hardware). I did not say anything like that. Still not convinced that autonuma is worth doing and that it is beneficial given the complexity it adds to the kernel. Just wanted to point out that there is a case to be made for adding another word to the page struct. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org