i'm following thru the code for what happens if you select 4K
stacks, and i noticed this at the bottom of include/asm-x86/module.h:
#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
#endif
ok, but what's the point of defining MODULE_STACKSIZE since no one
in the entire tree seems to care about it:
$ grep -rw MODULE_STACKSIZE *
include/asm-x86/module.h:# define MODULE_STACKSIZE "4KSTACKS "
include/asm-x86/module.h:# define MODULE_STACKSIZE ""
include/asm-x86/module.h:# define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY
MODULE_STACKSIZE
include/asm/module.h:# define MODULE_STACKSIZE "4KSTACKS "
include/asm/module.h:# define MODULE_STACKSIZE ""
include/asm/module.h:# define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY
MODULE_STACKSIZE
i see a bunch of #defines, but no one using it for anything. am i
missing something?
rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.
http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ