Re: Re: How does kernel thread create user process?

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

 



Hi,

Well, it's too long to be explained, but in short it is no different
than loading normal executable file and instruct it to run from its
entry point. During the loading, as usual, several VMAs are constructed
on user space

Actually, IMHO, that is still kernel thread. It is just "walk" to user
space for a moment, run a program, exit and back to kernel space.

Is it said the execve() will create a mm struct for the kernel thread when
loading executable file and " ' walk' to user space " ?

Thanks very much in deed!

Regards,

Cheng

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