Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932456AbWBGJh6 (ORCPT ); Tue, 7 Feb 2006 04:37:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932457AbWBGJh6 (ORCPT ); Tue, 7 Feb 2006 04:37:58 -0500 Received: from gprs189-60.eurotel.cz ([160.218.189.60]:21739 "EHLO amd.ucw.cz") by vger.kernel.org with ESMTP id S932456AbWBGJh5 (ORCPT ); Tue, 7 Feb 2006 04:37:57 -0500 Date: Tue, 7 Feb 2006 10:37:37 +0100 From: Pavel Machek To: Lee Revell Cc: Jim Crilly , "Rafael J. Wysocki" , Nigel Cunningham , suspend2-devel@lists.suspend2.net, linux-kernel@vger.kernel.org Subject: Re: Which is simpler? (Was Re: [Suspend2-devel] Re: [ 00/10] [Suspend2] Modules support.) Message-ID: <20060207093737.GC1742@elf.ucw.cz> References: <20060201113710.6320.68289.stgit@localhost.localdomain> <1139251682.2791.290.camel@mindpipe> <200602070625.49479.nigel@suspend2.net> <200602070051.41448.rjw@sisk.pl> <20060207003713.GB31153@voodoo> <20060207004611.GD1575@elf.ucw.cz> <20060207005930.GD31153@voodoo> <1139275143.2041.24.camel@mindpipe> <20060207030129.GA23860@mail> <1139282017.2041.44.camel@mindpipe> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1139282017.2041.44.camel@mindpipe> X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1745 Lines: 37 On Po 06-02-06 22:13:36, Lee Revell wrote: > On Mon, 2006-02-06 at 22:01 -0500, Jim Crilly wrote: > > On 02/06/06 08:19:02PM -0500, Lee Revell wrote: > > > On Mon, 2006-02-06 at 19:59 -0500, Jim Crilly wrote: > > > > I guess reasonable is a subjective term. For instance, I've seen quite > > > > a few people vehemently against adding new ioctls to the kernel and > > > > yet you'll be adding quite a few for /dev/snapshot. I'm just of the > > > > same mind as Nigel in that it makes the most sense to me that the > > > > majority of the suspend/hibernation process to be in the kernel. > > > > > > No one is saying that ANY new ioctls are bad, just that the KISS > > > principle of engineering dictates that it's bad design to use ioctls > > > where a simple read/write to a sysfs file will do. > > > > > > > I understand that, but shouldn't the KISS principle also be applied to > > the user interface of a feature? > > Personally I agree with you on suspend2, I think this is something that > needed to Just Work yesterday, and every day it doesn't work we are > losing users... but who am I to talk, I'm not the one who will have to > maintain it. It does just work in mainline now. If it does not please open bug account at bugzilla.kernel.org. If mainline swsusp is too slow for you, install uswsusp. If it is still too slow for you, mail me a patch adding LZW to userland code (should be easy). Pavel -- Web maintainer for suspend.sf.net (www.sf.net/projects/suspend) wanted... - 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/