Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261631AbVCaTI7 (ORCPT ); Thu, 31 Mar 2005 14:08:59 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261640AbVCaTI7 (ORCPT ); Thu, 31 Mar 2005 14:08:59 -0500 Received: from rproxy.gmail.com ([64.233.170.192]:43425 "EHLO rproxy.gmail.com") by vger.kernel.org with ESMTP id S261631AbVCaTIi (ORCPT ); Thu, 31 Mar 2005 14:08:38 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=VbaIi6GnGdb0Dva/ZCyV2DXRB8fFORElzYp05jidOVv12L9/2abIS8goU2+aiRImGVCBjTIoWavIpXVpj0ydGnzxDhACdte00Q1E0nsRikpFq0A9DyelN0uozuH3aByNP6iGEOq12eLmOvJz2U+wRzjsTkcktcYB/z+mYAbthE4= Message-ID: Date: Thu, 31 Mar 2005 14:08:36 -0500 From: Dmitry Torokhov Reply-To: dtor_core@ameritech.net To: Patrick Mochel Subject: Re: klists and struct device semaphores Cc: David Brownell , Alan Stern , Kernel development list In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <200503311018.02135.david-b@pacbell.net> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1130 Lines: 25 On Thu, 31 Mar 2005 10:26:36 -0800 (PST), Patrick Mochel wrote: > I don't understand what you mean. Even if a device is suspended, be it > automatically after some amount of inactivity or as directed explicitly by > a user, we want to be able to open the device and have it work. > > Conversely, we only want to automatically suspend the device, or allow the > device to be explicitly put to sleep, if the device is not being used. Well, the disagreement in definition of "being used". Quite often you have a device "open" for extended period of time (inactive ext2 partition is mounted on a disk) but device is not really active. You could power it down and only wake up when there is a read or write request. It looks like "open" and "close" are terms better suited for class devices while power management is applied to the "real" devices. -- Dmitry - 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/