diff options
author | Ingo Molnar <mingo@elte.hu> | 2005-09-03 15:56:26 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@evo.osdl.org> | 2005-09-05 00:06:09 -0700 |
commit | 869f96a00e8f53c7db8470ca9cf72e2e3fa40119 (patch) | |
tree | e28e526eb0e9d304d79dab3a20c944959a6ee38e /include/acpi/achware.h | |
parent | 7e06066b87ffd2c7a7f4c3f1c612293307270976 (diff) |
[PATCH] x86: compress the stack layout of do_page_fault()
This patch pushes the creation of a rare signal frame (SIGBUS or SIGSEGV)
into a separate function, thus saving stackspace in the main
do_page_fault() stackframe. The effect is 132 bytes less of stack used by
the typical do_page_fault() invocation - resulting in a denser
cache-layout.
(Another minor effect is that in case of kernel crashes that come from a
pagefault, we add less space to the already existing frame, giving the
crash functions a slightly higher chance to do their stuff without
overflowing the stack.)
(The changes also result in slightly cleaner code.)
argument bugfix from "Guillaume C." <guichaz@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/acpi/achware.h')
0 files changed, 0 insertions, 0 deletions