From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 2 18:37:43 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 614CE16A420 for ; Fri, 2 Jun 2006 18:37:43 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6DA543D5C for ; Fri, 2 Jun 2006 18:37:42 +0000 (GMT) (envelope-from zbeeble@gmail.com) Received: by nf-out-0910.google.com with SMTP id l37so1157880nfc for ; Fri, 02 Jun 2006 11:37:41 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=QQkOeqTMWyO5cDt081TSbCoM/zv7yoFYr+yvsnjI10eN8So8Y+XTt4Hh8/7O+V/VAzBCEz+RRdct5dFYzdgyFG+8eUCTxGfbtjeXrtzSBqvG06NeAF7dMnYM5Lw+myvXBYjBbIQDmGI4BL9N+jYYRG9wcU/qookEF7g5yORYfik= Received: by 10.48.222.9 with SMTP id u9mr979109nfg; Thu, 01 Jun 2006 09:01:57 -0700 (PDT) Received: by 10.67.25.10 with HTTP; Thu, 1 Jun 2006 09:01:57 -0700 (PDT) Message-ID: <5f67a8c40606010901s520c8898udf3a254e7f15a7b3@mail.gmail.com> Date: Thu, 1 Jun 2006 12:01:57 -0400 From: "Zaphod Beeblebrox" To: "John Baldwin" In-Reply-To: <200511061007.03634.jhb@FreeBSD.org> MIME-Version: 1.0 References: <87ab37ab0511032030o134b9316j83295dd303e4e44b@mail.gmail.com> <20051105.140416.69987626.imp@bsdimp.com> <87ab37ab0511060314m2eef7458vefc4f5f657ea6501@mail.gmail.com> <200511061007.03634.jhb@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org, kylin Subject: Re: misc questions about the device&driver arch X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jun 2006 18:37:43 -0000 On 11/6/05, John Baldwin wrote: > > > No, FreeBSD doesn't currently do what this decribes yet. It would be > possible > to do it by adding a new device_pause() method that drivers would be > required > to implement while the resources were shuffled around though and possibly > a > device_unpause() method so that they could update their state if their > resources were changed while the device was paused. Commenting specifically on this little nugget, this sounds like a boon to someone that might try and implement a suspend to disk system in the kernel.