execve: use direct user mappings
authorAlan Cox <alan@linux.intel.com>
Sun, 25 Jan 2015 00:24:06 +0000 (00:24 +0000)
committerAlan Cox <alan@linux.intel.com>
Sun, 25 Jan 2015 00:24:06 +0000 (00:24 +0000)
commit62725839c8ea568f7af3259079b125cfc09fe372
treeb55ff02a9304b03a7f860111b8c228862f6f0242
parent8a9578f6c167e8bc50b5ee35bc637e4adc3b0c9d
execve: use direct user mappings

If your disk devices don't support this then you'll need to enable the
CONFIG_LEGACY_EXEC option and fix the target. (This probably will get renamed
because if we get to stuff like 68000 it may be we have a cache big enough to
make execve via it useful)

This makes execve much faster, way faster on slow memory devices. The remaining
performance killer is the lack of vfork.
Kernel/syscall_exec.c