From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933646AbXGTUBo (ORCPT ); Fri, 20 Jul 2007 16:01:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1763771AbXGTUBh (ORCPT ); Fri, 20 Jul 2007 16:01:37 -0400 Received: from smtp-out002.kontent.com ([81.88.40.216]:52228 "EHLO smtp-out.kontent.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1762813AbXGTUBg convert rfc822-to-8bit (ORCPT ); Fri, 20 Jul 2007 16:01:36 -0400 From: Oliver Neukum To: Alan Stern Subject: Re: [linux-pm] Re: Hibernation considerations Date: Fri, 20 Jul 2007 22:03:27 +0200 User-Agent: KMail/1.9.7 Cc: Milton Miller , Ying Huang , LKML , "Rafael J. Wysocki" , David Lang , linux-pm , Jeremy Maitin-Shepard References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT Content-Disposition: inline Message-Id: <200707202203.27849.oliver@neukum.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Am Freitag 20 Juli 2007 schrieb Alan Stern: > Some drivers need the ability to schedule.  Some will need the ability > to allocate memory (although GFP_ATOMIC is probably sufficient).  Some > will need timers to run. Some will have to request firmware. It can add up to some megabytes. In addition, if we don't freeze, some drivers, eg. video drivers, can do allocations in the megabyte range. It seems to me that without the freezer we will end up with many drivers needing a two step notification process. Furthermore there are requirements on the order of shutting down system facilities, eg. device addition must be stopped before drivers allocate firmware. Regards Oliver