From: Len Brown Subject: [PATCH 027/122] x86: trim ACPI sleep stack buffer Date: Thu, 23 Oct 2008 02:38:01 -0400 Message-ID: <5000cadcf3188e935dae28c4fc7e24639704ea55.1224743916.git.len.brown@intel.com> References: <1224743976-31033-1-git-send-email-lenb@kernel.org> Return-path: Received: from vms173003pub.verizon.net ([206.46.173.3]:55836 "EHLO vms173003pub.verizon.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753287AbYJWGjw (ORCPT ); Thu, 23 Oct 2008 02:39:52 -0400 Received: from localhost.localdomain ([96.237.168.40]) by vms173003.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0K9600FUDIIF9SV3@vms173003.mailsrvcs.net> for linux-acpi@vger.kernel.org; Thu, 23 Oct 2008 01:39:52 -0500 (CDT) In-reply-to: <1224743976-31033-1-git-send-email-lenb@kernel.org> In-reply-to: References: Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: linux-acpi@vger.kernel.org Cc: Matt Mackall , Len Brown From: Matt Mackall x86_64 SMP suspend to RAM uses a 10k temporary stack for saving the kernel state, but only 4k of it is used. Shrink it to 4k. Signed-off-by: Matt Mackall Signed-off-by: Len Brown --- arch/x86/kernel/acpi/sleep.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/kernel/acpi/sleep.c b/arch/x86/kernel/acpi/sleep.c index 29cf340..55d10cb 100644 --- a/arch/x86/kernel/acpi/sleep.c +++ b/arch/x86/kernel/acpi/sleep.c @@ -21,7 +21,7 @@ unsigned long acpi_realmode_flags; static unsigned long acpi_realmode; #if defined(CONFIG_SMP) && defined(CONFIG_64BIT) -static char temp_stack[10240]; +static char temp_stack[4096]; #endif /** -- 1.5.5.1