]> git.baikalelectronics.ru Git - kernel.git/commit
x86: get rid of small constant size cases in raw_copy_{to,from}_user()
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 15 Feb 2020 16:46:30 +0000 (11:46 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Jul 2022 15:14:17 +0000 (17:14 +0200)
commitb09dd349a957bd9eaf1b7484f84d5f3f68a2affe
treeb0c84a5a15ffa68b771429b61c6016eaff9e486e
parente7e086e9f60ae1a7217ab496c12c9f38fdb76d27
x86: get rid of small constant size cases in raw_copy_{to,from}_user()

[ Upstream commit 53e693b061ae212a3a4b8275d4397e8555fdea27 ]

Very few call sites where that would be triggered remain, and none
of those is anywhere near hot enough to bother.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/x86/include/asm/uaccess.h
arch/x86/include/asm/uaccess_32.h
arch/x86/include/asm/uaccess_64.h