RE: cat /proc/acpi/events bad for your system's health!

From: Yu, Luming <luming.yu_at_intel.com>
Date: 2004-03-13 02:15:01
> 
>   Luming> I confirm this issue here on tiger with 2.6.4-rc3 kernel ,
>   Luming> but 2.4 is ok.  Not sure this is a regression.
> 
> OK.  I assume you (or Len) will take care of it?
> 

The following patch make crash on my tiger gone.   However I didn't dig
out the true culprit.  Maybe this is due to excessive optimization. 

BTW, my gcc version is 3.2.3 .

Thanks,
Luming

diff -Bru 2.6-acpi/drivers/acpi/bus.c patched/drivers/acpi/bus.c
--- 2.6-acpi/drivers/acpi/bus.c	2004-02-27 09:17:52.000000000 +0800
+++ patched/drivers/acpi/bus.c	2004-03-12 23:03:05.000000000 +0800
@@ -335,6 +335,7 @@
 		remove_wait_queue(&acpi_bus_event_queue, &wait);
 		set_current_state(TASK_RUNNING);
 
+		acpi_os_stall(100);
 		if (signal_pending(current))
 			return_VALUE(-ERESTARTSYS);
 	}
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Fri Mar 12 10:15:53 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:24 EST