commit | a955bd611d6426bf7b61cab01f8ddee9cc169736 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@ftp.linux.org.uk> | Thu Aug 18 20:00:49 2011 +0100 |
committer | Richard Weinberger <richard@nod.at> | Wed Nov 02 14:14:42 2011 +0100 |
tree | f2f42f996bbb757e6f8ebd805fe1e975893dcc32 | |
parent | 3d72210bdc1ef67b72ffbd3e74873cae7287f2c6 [diff] |
um: series of __get_user() is costly in sigframe handling It's not x86, where __get_user() is a single dereference; here it's a single ptrace(2) call in host, which obviously costs a lot more. IOW, it's cheaper to do copy_{to,from}_user() once than bother with fields one by one... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Richard Weinberger <richard@nod.at>