Files
android_kernel_xiaomi_sm8450/arch/parisc/kernel
Al Viro ff0ab8af9c parisc: optimizations in copy_thread() and friends
* in user thread case the registers had been copied as part of task_struct
already; no need to do it in copy_thread().
* no need to store kernel stack pointer into regs->r21; we know its offset
anyway.
* no need to clobber r3 in sys_fork_wrapper and friends - r28 will do just
as well and *it* will be overwritten anyway.
* no need to mess with storing the return address for child - it should just
use syscall_exit.
* no need to bother with separate stack frame for sys_clone() - just branch
there and be done with that.
* no need to bother with wrapper_exit - we need it only on the child_return,
so let's just do it there.
* use the same ksp for kernel threads and userland ones, while we are at it,
and let ret_from_kernel_execve() go through the normal syscall_exit.  More
straightforward is better here...

[fixes from jejb folded]

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-10-14 19:36:37 -04:00
..
2008-03-15 19:12:19 -07:00
2009-01-05 19:18:27 +00:00
2011-03-31 11:26:23 -03:00
2012-05-07 11:38:46 +02:00
2005-04-16 15:20:36 -07:00
2012-07-05 15:09:13 -06:00
2012-08-13 16:50:19 -07:00
2010-10-16 22:43:08 +02:00
2012-03-28 18:30:02 +01:00
2008-10-10 16:32:28 +00:00
2005-04-16 15:20:36 -07:00
2012-03-28 18:30:02 +01:00