From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail143.messagelabs.com (mail143.messagelabs.com [216.82.254.35]) by kanga.kvack.org (Postfix) with SMTP id 6AC2A6B0216 for ; Tue, 18 May 2010 04:55:27 -0400 (EDT) Message-ID: <4BF255F3.9040002@linux.intel.com> Date: Tue, 18 May 2010 10:55:15 +0200 From: Andi Kleen MIME-Version: 1.0 Subject: Re: [RFC, 6/7] NUMA hotplug emulator References: <20100513120016.GG2169@shaohui> <20100513165603.GC25212@suse.de> <1273773737.13285.7771.camel@nimitz> <20100513181539.GA26597@suse.de> <1273776578.13285.7820.camel@nimitz> <20100518054121.GA25298@shaohui> <1274167625.17463.17.camel@nimitz> In-Reply-To: <1274167625.17463.17.camel@nimitz> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: Dave Hansen Cc: Shaohui Zheng , Greg KH , akpm@linux-foundation.org, linux-mm@kvack.org, Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, Hidetoshi Seto , Wu Fengguang , Heiko Carstens , linux-kernel@vger.kernel.org, haicheng.li@linux.intel.com, shaohui.zheng@linux.intel.com List-ID: > > Maybe configfs isn't the way to go. I just think extending the 'probe' > file is a bad idea, especially in the way your patch did it. I'm open > to other alternatives. Since this is only for testing, perhaps debugfs > applies better. What other alternatives have you explored? How about a > Systemtap set to do it? :) First this is a debugging interface. It doesn't need to have the most pretty interface in the world, because it will be only used for QA by a few people. Requiring setting parameters in two different file systems doesn't sound that appealing to me. systemtap for configuration also doesn't seem right. I liked Dave's earlier proposal to do a command line parameter like interface for "probe". Perhaps that can be done. It shouldn't need a lot of code. In fact there are already two different parser libraries for this: lib/parser.c and lib/params.c. One could chose the one that one likes better :-) Anything that needs a lot of code is a bad idea for this I think. A simple parser using one of the existing libraries should be simple enough though. Again it's just a QA interface, not the next generation of POSIX. -Andi -- 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