From: Pavel Machek Subject: Re: Re: freeze_processes questions Date: Thu, 7 Apr 2005 11:11:57 +0200 Message-ID: <20050407091157.GB1541@elf.ucw.cz> References: <200504062252.34867.rjw@sisk.pl> <20050406211739.GA1381@elf.ucw.cz> <200504062335.34143.rjw@sisk.pl> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============73124649408616138==" Return-path: In-Reply-To: <200504062335.34143.rjw@sisk.pl> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.osdl.org Errors-To: linux-pm-bounces@lists.osdl.org To: "Rafael J. Wysocki" Cc: Nigel Cunningham , linux-pm@lists.osdl.org, Pavel Machek List-Id: linux-pm@vger.kernel.org --===============73124649408616138== Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi! > > > > What happens if a process owns a lock needed to suspend a device and it is > > > > waiting in TASK_UNINTERRUPTIBLE? > > > > > > Well, we're in trouble. :-) > > > > > > However, if any process that we have frozen owns such a lock, we're in trouble > > > too. > > > > No, we are not. Processes can't own any locks when they are in > > refrigerator... It is not ok to call refrigerator from any context > > where you own a lock. > > I didn't mean a lock in general, but a lock that is needed to > suspend a device. Processes in refrigerator are not allowed to own any locks. That means they may not own a lock that is needed to suspend a device ;-). OTOH... we may want to move completely away from refrigerator. Its quite a hack, and it device support is okay, we'll not really need it. Pavel -- Boycott Kodak -- for their patent abuse against Java. --===============73124649408616138== Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline --===============73124649408616138==--