diff options
| author | Arnd Bergmann <[email protected]> | 2021-08-11 07:30:26 +0000 |
|---|---|---|
| committer | Russell King (Oracle) <[email protected]> | 2021-08-20 10:39:27 +0000 |
| commit | 8ac6f5d7f84bf362e67591708bcb9788cdc42c50 (patch) | |
| tree | b550f0848c7bf5a43991f70ad71937b560d49dc5 /fs/proc/array.c | |
| parent | ARM: 9112/1: uaccess: add __{get,put}_kernel_nofault (diff) | |
| download | kernel-8ac6f5d7f84bf362e67591708bcb9788cdc42c50.tar.gz kernel-8ac6f5d7f84bf362e67591708bcb9788cdc42c50.zip | |
ARM: 9113/1: uaccess: remove set_fs() implementation
There are no remaining callers of set_fs(), so just remove it
along with all associated code that operates on
thread_info->addr_limit.
There are still further optimizations that can be done:
- In get_user(), the address check could be moved entirely
into the out of line code, rather than passing a constant
as an argument,
- I assume the DACR handling can be simplified as we now
only change it during user access when CONFIG_CPU_SW_DOMAIN_PAN
is set, but not during set_fs().
Acked-by: Christoph Hellwig <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Russell King (Oracle) <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
