Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 212910
b: refs/heads/master
c: dcfa726
h: refs/heads/master
v: v3
  • Loading branch information
Christoph Hellwig authored and Thomas Gleixner committed Jun 29, 2010
1 parent becef3d commit da464ef
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 20 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7974891db234467eaf1fec613ec0129cb4ac2332
refs/heads/master: dcfa726280116dd31adad37da940f542663567d0
9 changes: 0 additions & 9 deletions trunk/arch/x86/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -121,15 +121,6 @@ config DEBUG_NX_TEST
and the software setup of this feature.
If in doubt, say "N"

config 4KSTACKS
bool "Use 4Kb for kernel stacks instead of 8Kb"
depends on X86_32
---help---
If you say Y here the kernel will use a 4Kb stacksize for the
kernel stack attached to each process/thread. This facilitates
running more threads on a system and also reduces the pressure
on the VM subsystem for higher order allocations.

config DOUBLEFAULT
default y
bool "Enable doublefault exception handler" if EMBEDDED
Expand Down
7 changes: 1 addition & 6 deletions trunk/arch/x86/include/asm/module.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,7 @@
#endif

#ifdef CONFIG_X86_32
# ifdef CONFIG_4KSTACKS
# define MODULE_STACKSIZE "4KSTACKS "
# else
# define MODULE_STACKSIZE ""
# endif
# define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY MODULE_STACKSIZE
# define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY
#endif

#endif /* _ASM_X86_MODULE_H */
4 changes: 0 additions & 4 deletions trunk/arch/x86/include/asm/page_32_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,7 @@
*/
#define __PAGE_OFFSET _AC(CONFIG_PAGE_OFFSET, UL)

#ifdef CONFIG_4KSTACKS
#define THREAD_ORDER 0
#else
#define THREAD_ORDER 1
#endif
#define THREAD_SIZE (PAGE_SIZE << THREAD_ORDER)

#define STACKFAULT_STACK 0
Expand Down

0 comments on commit da464ef

Please sign in to comment.