From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964792AbXGZSOH (ORCPT ); Thu, 26 Jul 2007 14:14:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933020AbXGZSNx (ORCPT ); Thu, 26 Jul 2007 14:13:53 -0400 Received: from smtp2.linux-foundation.org ([207.189.120.14]:50827 "EHLO smtp2.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932669AbXGZSNw (ORCPT ); Thu, 26 Jul 2007 14:13:52 -0400 Date: Thu, 26 Jul 2007 11:13:26 -0700 From: Andrew Morton To: "Michael Chang" Cc: "Ray Lee" , "Nick Piggin" , "Eric St-Laurent" , linux-kernel@vger.kernel.org, "ck list" , linux-mm@kvack.org, "Paul Jackson" , "Jesper Juhl" , "Rene Herman" Subject: Re: [ck] Re: -mm merge plans for 2.6.23 Message-Id: <20070726111326.873f7b0a.akpm@linux-foundation.org> In-Reply-To: References: <20070710013152.ef2cd200.akpm@linux-foundation.org> <2c0942db0707232153j3670ef31kae3907dff1a24cb7@mail.gmail.com> <46A58B49.3050508@yahoo.com.au> <2c0942db0707240915h56e007e3l9110e24a065f2e73@mail.gmail.com> <46A6CC56.6040307@yahoo.com.au> <46A6D7D2.4050708@gmail.com> <1185341449.7105.53.camel@perkele> <46A6E1A1.4010508@yahoo.com.au> <2c0942db0707250909r435fef75sa5cbf8b1c766000b@mail.gmail.com> <20070725215717.df1d2eea.akpm@linux-foundation.org> X-Mailer: Sylpheed 2.4.1 (GTK+ 2.8.17; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 26 Jul 2007 10:19:06 -0400 "Michael Chang" wrote: > > All this would end up needing runtime configurability and tweakability and > > customisability. All standard fare for userspace stuff - much easier than > > patching the kernel. > > Maybe I'm missing something here, but if the problem is resource > allocation when switching from state A to state B, and from B to C, > etc.; wouldn't it be a bad thing if state B happened to be (in the > future) this state-shifting userspace daemon of which you speak? (Or > is that likely to be impossible/unlikely for some other reason which > alludes me at the moment?) Well. I was assuming that the daemon wouldn't be a great memory pig. I suspect it would do practically zero IO and would use little memory. It could even be mlocked, but I doubt if that would be needed.