Messages in this thread | | | Date | Fri, 8 Jan 2010 09:51:49 -0600 (CST) | From | Christoph Lameter <> | Subject | Re: [RFC][PATCH 6/8] mm: handle_speculative_fault() |
| |
On Thu, 7 Jan 2010, Arjan van de Ven wrote:
> if an app has to change because our kernel sucks (for no good reason), > "change the app" really is the lame type of answer.
We are changing apps all of the time here to reduce the number of system calls. Any system call usually requires context switching, scheduling activities etc. Evil effects if you want the processor for computation and are sensitive to cpu caching effects. It is good to reduce the number of system calls as much as possible.
System calls are at best placed to affect the largest memory possible in a given context and be avoided in loops.
| |