Allocating VMA's in init_new_context()

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

 



	This is a follow up to my last post. I'm calling do_mmap() in
init_new_context() and at this point current->mm == NULL. Is there an
internal mmap() call that you can specify the mm as an argument? If not
are then any functions to help build vm_area's or to I have to do it
myself and mess around with locking the mm?

	Cheers, Adam

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[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