diff options
| author | Thomas Gleixner <[email protected]> | 2021-06-23 12:02:23 +0000 |
|---|---|---|
| committer | Borislav Petkov <[email protected]> | 2021-06-23 17:55:51 +0000 |
| commit | 72a6c08c44e4460e39315ca828f60b8d5afd6b19 (patch) | |
| tree | 385a8cb9ee0dc549709a9afd559e3095cd645db1 /lib/test_bitops.c | |
| parent | x86/fpu: Don't store PKRU in xstate in fpu_reset_fpstate() (diff) | |
| download | kernel-72a6c08c44e4460e39315ca828f60b8d5afd6b19.tar.gz kernel-72a6c08c44e4460e39315ca828f60b8d5afd6b19.zip | |
x86/pkru: Remove xstate fiddling from write_pkru()
The PKRU value of a task is stored in task->thread.pkru when the task is
scheduled out. PKRU is restored on schedule in from there. So keeping the
XSAVE buffer up to date is a pointless exercise.
Remove the xstate fiddling and cleanup all related functions.
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Reviewed-by: Borislav Petkov <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_bitops.c')
0 files changed, 0 insertions, 0 deletions
