diff mbox

kacpi_notify_wq and kacpid_wq use a lot of cpu

Message ID 4b59efdb.E0ClbTr8sKopLDl5JyKeEOdy@lilem.mirepesht (mailing list archive)
State New, archived
Headers show

Commit Message

Ali Gholami Rudi Jan. 22, 2010, 6:35 p.m. UTC
None
diff mbox

Patch

=== patch ====
diff --git a/drivers/acpi/acpica/evgpe.c b/drivers/acpi/acpica/evgpe.c
index afacf44..eded044 100644
--- a/drivers/acpi/acpica/evgpe.c
+++ b/drivers/acpi/acpica/evgpe.c
@@ -504,6 +504,7 @@  static void ACPI_SYSTEM_XFACE acpi_ev_asynch_execute_gpe_method(void *context)
 	acpi_status status;
 	struct acpi_gpe_event_info local_gpe_event_info;
 	struct acpi_evaluate_info *info;
+	printk("acpi_ev_asynch_execute_gpe_method\n");
 
 	ACPI_FUNCTION_TRACE(ev_asynch_execute_gpe_method);
 
@@ -577,6 +578,7 @@  static void ACPI_SYSTEM_XFACE acpi_ev_asynch_execute_gpe_method(void *context)
 static void acpi_ev_asynch_enable_gpe(void *context)
 {
 	struct acpi_gpe_event_info *gpe_event_info = context;
+	printk("acpi_ev_asynch_enable_gpe\n");
 	acpi_status status;
 	if ((gpe_event_info->flags & ACPI_GPE_XRUPT_TYPE_MASK) ==
 	    ACPI_GPE_LEVEL_TRIGGERED) {
diff --git a/drivers/acpi/acpica/evmisc.c b/drivers/acpi/acpica/evmisc.c
index ce224e1..e2307d1 100644
--- a/drivers/acpi/acpica/evmisc.c
+++ b/drivers/acpi/acpica/evmisc.c
@@ -224,6 +224,7 @@  static void ACPI_SYSTEM_XFACE acpi_ev_notify_dispatch(void *context)
 	acpi_notify_handler global_handler = NULL;
 	void *global_context = NULL;
 	union acpi_operand_object *handler_obj;
+	printk("acpi_ev_notify_dispatch\n");
 
 	ACPI_FUNCTION_ENTRY();
 
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index fd1801b..f3d8cc1 100644
--- a/drivers/acpi/ec.c
+++ b/drivers/acpi/ec.c
@@ -514,6 +514,7 @@  static void acpi_ec_gpe_query(void *ec_cxt)
 	struct acpi_ec *ec = ec_cxt;
 	u8 value = 0;
 	struct acpi_ec_query_handler *handler, copy;
+	printk("acpi_ec_gpe_query\n");
 
 	if (!ec || acpi_ec_query(ec, &value))
 		return;
diff --git a/drivers/acpi/sbshc.c b/drivers/acpi/sbshc.c
index d933980..99f39db 100644
--- a/drivers/acpi/sbshc.c
+++ b/drivers/acpi/sbshc.c
@@ -217,6 +217,7 @@  EXPORT_SYMBOL_GPL(acpi_smbus_unregister_callback);
 static inline void acpi_smbus_callback(void *context)
 {
 	struct acpi_smb_hc *hc = context;
+	printk("acpi_smbus_callback\n");
 	if (hc->callback)
 		hc->callback(hc->context);
 }