From patchwork Tue Jan 18 20:20:16 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rafael Wysocki X-Patchwork-Id: 487291 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p0IKL6uE008289 for ; Tue, 18 Jan 2011 20:21:06 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752780Ab1ARUVF (ORCPT ); Tue, 18 Jan 2011 15:21:05 -0500 Received: from ogre.sisk.pl ([217.79.144.158]:52350 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751745Ab1ARUVE (ORCPT ); Tue, 18 Jan 2011 15:21:04 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by ogre.sisk.pl (Postfix) with ESMTP id 274311A2363; Tue, 18 Jan 2011 21:06:00 +0100 (CET) Received: from ogre.sisk.pl ([127.0.0.1]) by localhost (ogre.sisk.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 02005-08; Tue, 18 Jan 2011 21:05:40 +0100 (CET) Received: from ferrari.rjw.lan (220-bem-13.acn.waw.pl [82.210.184.220]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ogre.sisk.pl (Postfix) with ESMTP id A91E71A237B; Tue, 18 Jan 2011 21:05:40 +0100 (CET) From: "Rafael J. Wysocki" To: Jeff Chua Subject: Re: [linux-pm] Resume from Memory very slow on 2.6.37+ Date: Tue, 18 Jan 2011 21:20:16 +0100 User-Agent: KMail/1.13.5 (Linux/2.6.37+; KDE/4.4.4; x86_64; ; ) Cc: Len Brown , linux-pm@lists.linux-foundation.org, Jack Steiner , Linus Torvalds , ACPI Devel Maling List References: <201101180235.59498.rjw@sisk.pl> In-Reply-To: MIME-Version: 1.0 Message-Id: <201101182120.16835.rjw@sisk.pl> X-Virus-Scanned: amavisd-new at ogre.sisk.pl using MkS_Vir for Linux Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 18 Jan 2011 20:21:34 +0000 (UTC) Index: linux-2.6/drivers/acpi/osl.c =================================================================== --- linux-2.6.orig/drivers/acpi/osl.c +++ linux-2.6/drivers/acpi/osl.c @@ -383,7 +383,10 @@ void __ref acpi_os_unmap_memory(void __i if (!del) return; + pr_info("%s: synchronize_rcu()\n", __func__); synchronize_rcu(); + pr_info("%s: iounmap(%p), physaddr: %llx, size: %u\n", __func__, + map->virt, map->phys, map->size); iounmap(map->virt); kfree(map); }