]> git.baikalelectronics.ru Git - kernel.git/commit
x86: ia32_setup_frame(): consolidate uaccess areas
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 16 Feb 2020 00:36:40 +0000 (19:36 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 26 Mar 2020 18:39:38 +0000 (14:39 -0400)
commitfa8d002a1ff92980a29405ccba52f0efa64f6d4d
treed7c1de71bce8054fc02f8ad0900ed46dba393e68
parent4f75e3446c834c9f5277bfd5b1b7224b37d63f01
x86: ia32_setup_frame(): consolidate uaccess areas

Currently we have user_access block, followed by __put_user(),
deciding what the restorer will be and finally a put_user_try
block.

Moving the calculation of restorer first allows the rest
(actual copyout work) to coalesce into a single user_access block.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/x86/ia32/ia32_signal.c