Re: what's the value of "MODULE_STACKSIZE"?

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

 



On 25-04-08 21:02, Robert P. J. Day wrote:

oh man, i'm going to sound dumb by asking this, but what precisely is
it that embeds that macro value in the module?

MODULE_STACKSIZE gets added to VERMAGIC_STRING (linux/vermagic.h) as part of MODULE_ARCH_VERMAGIC (asm/module.h). VERMAGIC_STRING is then referenced directly by kerel/module.c adding the string to the kernel image itself and by scripts/mod/modpost.c, adding the string to the modules (function add_header).

Rene.

--
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