From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rafael J. Wysocki" Subject: [RFC][PATCH -mm 0/2] Freezer: Use wait queue instead of busy looping Date: Wed, 25 Jul 2007 14:01:47 +0200 Message-ID: <200707251401.48340.rjw@sisk.pl> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org To: pm list Cc: Nigel Cunningham , Oleg Nesterov , Pavel Machek List-Id: linux-pm@vger.kernel.org Hi, I thought it would be a good idea to make try_to_freeze_tasks() use a wait queue instead of looping while tasks are supposed to be entering the refrigerator. The details are in the second patch changelog. The first patch is the known "make it more verbose" thing. Comments welcome. Greetings, Rafael -- "Premature optimization is the root of all evil." - Donald Knuth