Re: Access User address from kernel thread

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

 



Karthik.G. wrote:

The goal is to pass the system call parameters in the a predefined location in the user process .The kernel thread will have to read and execute the particular system call . This will be faster than the normal system call mechanism

No, it won't.

Normal system calls stay in the same process context and can be
run without a context switch.  Your scheme requires a context
switch and a (complex) lookup and pinning of user pages in a
different process.  That is pretty much guaranteed to be slower.

--
Politics is the struggle between those who want to make their country
the best in the world, and those who believe it already is.  Each group
calls the other unpatriotic.

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