lkml.org 
[lkml]   [2008]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectWhy is arch/x86/kernel/acpi/sleep.c:temp_stack 10k?
From
Date
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.



\
 
 \ /
  Last update: 2008-10-01 02:17    [W:0.063 / U:1.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site