Skip to content

Commit

Permalink
x86: trim ACPI sleep stack buffer
Browse files Browse the repository at this point in the history
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 <mpm@selenic.com>
Signed-off-by: Len Brown <len.brown@intel.com>
  • Loading branch information
Matt Mackall authored and Len Brown committed Oct 10, 2008
1 parent d0d0f74 commit 5000cad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kernel/acpi/sleep.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

/**
Expand Down

0 comments on commit 5000cad

Please sign in to comment.