public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Why is arch/x86/kernel/acpi/sleep.c:temp_stack 10k?
@ 2008-10-01  0:12 Matt Mackall
  2008-10-09  8:56 ` Pavel Machek
  0 siblings, 1 reply; 9+ messages in thread
From: Matt Mackall @ 2008-10-01  0:12 UTC (permalink / raw)
  To: Ingo Molnar, Pavel Machek; +Cc: Linux Kernel Mailing List, linux-acpi

We've got:

#if defined(CONFIG_SMP) && defined(CONFIG_64BIT)
static char temp_stack[10240];
#endif

and:

#ifdef CONFIG_SMP
        stack_start.sp = temp_stack + 4096;
#endif

..which suggests we use at most 4k of the stack?

-- 
Mathematics is the supreme nostalgia of our time.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-10-09 21:21 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-01  0:12 Why is arch/x86/kernel/acpi/sleep.c:temp_stack 10k? Matt Mackall
2008-10-09  8:56 ` Pavel Machek
2008-10-09 16:56   ` [PATCH] x86: trim ACPI sleep stack buffer Matt Mackall
2008-10-09 17:19     ` Len Brown
2008-10-09 17:23       ` Moore, Robert
2008-10-09 17:41         ` Matt Mackall
2008-10-09 18:07           ` Pavel Machek
2008-10-09 18:35             ` Len Brown
2008-10-09 21:25               ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox