From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail144.messagelabs.com (mail144.messagelabs.com [216.82.254.51]) by kanga.kvack.org (Postfix) with ESMTP id 876716B00EA for ; Tue, 19 Jul 2011 04:49:34 -0400 (EDT) Received: by wyg36 with SMTP id 36so3370439wyg.14 for ; Tue, 19 Jul 2011 01:49:30 -0700 (PDT) Subject: Re: [Patch] mm: make CONFIG_NUMA depend on CONFIG_SYSFS From: Eric Dumazet In-Reply-To: <4E252CA1.803@redhat.com> References: <1310987909-3129-1-git-send-email-amwang@redhat.com> <20110718135243.GA5349@suse.de> <4E25221F.6060605@redhat.com> <1311058498.16961.15.camel@edumazet-laptop> <4E252CA1.803@redhat.com> Content-Type: text/plain; charset="UTF-8" Date: Tue, 19 Jul 2011 10:49:21 +0200 Message-ID: <1311065361.2375.3.camel@edumazet-HP-Compaq-6005-Pro-SFF-PC> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-linux-mm@kvack.org List-ID: To: Cong Wang Cc: Mel Gorman , linux-kernel@vger.kernel.org, akpm@linux-foundation.org, Andi Kleen , linux-mm@kvack.org Le mardi 19 juillet 2011 A 15:05 +0800, Cong Wang a A(C)crit : > ao? 2011a1'07ae??19ae?JPY 14:54, Eric Dumazet a??e??: > > Le mardi 19 juillet 2011 A 14:20 +0800, Cong Wang a A(C)crit : > > > >> Hmm, since we don't have to enable SYSFS for NUMA, how about > >> make a new Kconfig for drivers/base/node.c? I.e., CONFIG_NUMA_SYSFS, > >> like patch below. > >> > > > > I dont quite understand this patch, nor the idea behind it. > > > > You can have a NUMA kernel (for appropriate percpu locality or whatever > > kernel data), and yet user land processes unable to use numactl if SYSFS > > is not enabled. I dont see a problem. > > > > Both Pekka and Mel pointed out that it makes sense to have NUMA kernel > without SYSFS, this means sysfs interface is not a must for NUMA kernel. > Thus, I think it makes sense to separate the numa sysfs code out. Sorry, I misread the patch, I was confused by the title, since it still claims "make CONFIG_NUMA depend on CONFIG_SYSFS" ;) -- 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/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org