From patchwork Fri Jan 22 18:35:07 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ali Gholami Rudi X-Patchwork-Id: 74713 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o0MIaan0028474 for ; Fri, 22 Jan 2010 18:36:36 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756113Ab0AVSgZ (ORCPT ); Fri, 22 Jan 2010 13:36:25 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756157Ab0AVSgY (ORCPT ); Fri, 22 Jan 2010 13:36:24 -0500 Received: from mail-fx0-f220.google.com ([209.85.220.220]:48235 "EHLO mail-fx0-f220.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756113Ab0AVSgX (ORCPT ); Fri, 22 Jan 2010 13:36:23 -0500 Received: by fxm20 with SMTP id 20so1626380fxm.21 for ; Fri, 22 Jan 2010 10:36:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:cc :subject:message-id:user-agent:mime-version:content-type; bh=qjFTjlyXvONK5ClYzBCJobamA4dztGIpidTILDfuIa0=; b=k9GMljBNjW2walXfwZslvtVeynm9HRO55m7ioc1G0B3KPJiP/mFWy0y+KK7xTAXymL CFdxyqq8fzZL3e2ezs9efs3+dJnbxEUU4jNzOo24o/lWZANC6aQRS2lFrWqGH3R9hLi3 hz1wBtg+3gu3h6iE+ZYlZVY5a3q4pwE44njYE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:user-agent:mime-version :content-type; b=SJsO0jrludCNExjmfIZFSvKmRxo2h0es8P+NtxyTAvVbXLNqWYDM4aeyI3MiTDCNw/ nNvFt0f0h3GStuV7eaqXNg7lpOCoYCb0J0k5JrAxptCohxaucTY0UqSalro2h+nUYJm0 4/kxS5lt8ACNy1HyZLWw0MNx7QLh5LEVAg8pw= Received: by 10.223.28.156 with SMTP id m28mr1189234fac.41.1264185380780; Fri, 22 Jan 2010 10:36:20 -0800 (PST) Received: from lilem ([92.50.5.135]) by mx.google.com with ESMTPS id 2sm3236692fks.43.2010.01.22.10.36.13 (version=SSLv3 cipher=RC4-MD5); Fri, 22 Jan 2010 10:36:19 -0800 (PST) Date: Fri, 22 Jan 2010 22:05:07 +0330 From: Ali Gholami Rudi To: linux-acpi@vger.kernel.org Cc: Alexey Starikovskiy , Len Brown , linux-kernel@vger.kernel.org Subject: kacpi_notify_wq and kacpid_wq use a lot of cpu Message-ID: <4b59efdb.E0ClbTr8sKopLDl5JyKeEOdy@lilem.mirepesht> User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org === 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); }