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

Allocating VMA's in init_new_context()



	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/