public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH -mm] PM: Remove sleeping from suspend_console
@ 2006-09-04 20:50 Rafael J. Wysocki
  2006-09-05  6:28 ` Stefan Seyfried
  0 siblings, 1 reply; 3+ messages in thread
From: Rafael J. Wysocki @ 2006-09-04 20:50 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Pavel Machek, Stefan Seyfried, LKML

Remove ssleep() from suspend_console().

Stefan thinks it is unnecessary and will slow down the suspend too much.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
---
---
 kernel/printk.c |    5 -----
 1 file changed, 5 deletions(-)

Index: linux-2.6.18-rc5-mm1/kernel/printk.c
===================================================================
--- linux-2.6.18-rc5-mm1.orig/kernel/printk.c
+++ linux-2.6.18-rc5-mm1/kernel/printk.c
@@ -713,11 +713,6 @@ void suspend_console(void)
 	printk("Suspending console(s)\n");
 	acquire_console_sem();
 	console_suspended = 1;
-	/* This is needed so that all of the messages that have already been
-	 * written to all consoles can be actually transmitted (eg. over a
-	 * network) before we try to suspend the consoles' devices.
-	 */
-	ssleep(2);
 }
 
 void resume_console(void)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-09-05 11:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-04 20:50 [PATCH -mm] PM: Remove sleeping from suspend_console Rafael J. Wysocki
2006-09-05  6:28 ` Stefan Seyfried
2006-09-05 11:08   ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox