kernel modules and physical memory

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

 



Let's say I load a kernel module that has this line in it:

  module_init(mymod_init);

At the time that mymod_init() is called, can I be sure that the entire
module code and static data is stored in physical RAM?  If I call:

  save_flags(flags); cli();

inside mymod_init(), I'm preventing page swaps from happening, right?
Can I assume that all my static data is accessible in RAM?

Thanks,
Dave

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           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