what's the value of "MODULE_STACKSIZE"?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  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 ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux