Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756483AbZKSOaO (ORCPT ); Thu, 19 Nov 2009 09:30:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756362AbZKSOaN (ORCPT ); Thu, 19 Nov 2009 09:30:13 -0500 Received: from cavan.codon.org.uk ([93.93.128.6]:35972 "EHLO cavan.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756326AbZKSOaM (ORCPT ); Thu, 19 Nov 2009 09:30:12 -0500 Date: Thu, 19 Nov 2009 14:30:08 +0000 From: Matthew Garrett To: Kay Sievers Cc: David Zeuthen , linux-kernel@vger.kernel.org, axboe@kernel.dk, linux-hotplug@vger.kernel.org Subject: Re: [PATCH] [RFC] Add support for uevents on block device idle changes Message-ID: <20091119143008.GA719@srcf.ucam.org> References: <20091118195342.GA13627@srcf.ucam.org> <20091118200712.GA14026@srcf.ucam.org> <20091118213355.GA16630@srcf.ucam.org> <20091119130107.GB20949@srcf.ucam.org> <20091119141634.GA311@srcf.ucam.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: mjg59@cavan.codon.org.uk X-SA-Exim-Scanned: No (on cavan.codon.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 983 Lines: 21 On Thu, Nov 19, 2009 at 03:25:59PM +0100, Kay Sievers wrote: > On Thu, Nov 19, 2009 at 15:16, Matthew Garrett wrote: > > It could, but it seems a bit of a hack. It'd still also require the > > timer to be in the kernel, so we might as well expose that to userspace. > > Sure, but a userspace configurable policy for an in-kernel disk-idle > powermanagent sounds fine, compared to a single-subscriber > userspace-only disk-idle event interface. :) Well, we still need to expose this for the access pattern modifying. I really don't see the issue with the single subscriber being devkit-disks - none of the operations involved are atomic, so we're inherently racy here. -- Matthew Garrett | mjg59@srcf.ucam.org -- 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/