diff options
author | Josh Poimboeuf <[email protected]> | 2017-02-13 19:42:31 -0600 |
---|---|---|
committer | Jiri Kosina <[email protected]> | 2017-03-08 09:19:41 +0100 |
commit | afb94c9e0b413bbdea779192eaca076c43ede031 (patch) | |
tree | db2daa2ac7965176f149fd0cba58248c960dd10a /tools/testing/radix-tree/linux.c | |
parent | 46c5a0113f843be5c55b1c40dd486538891156d4 (diff) |
livepatch/x86: add TIF_PATCH_PENDING thread flag
Add the TIF_PATCH_PENDING thread flag to enable the new livepatch
per-task consistency model for x86_64. The bit getting set indicates
the thread has a pending patch which needs to be applied when the thread
exits the kernel.
The bit is placed in the _TIF_ALLWORK_MASK macro, which results in
exit_to_usermode_loop() calling klp_update_patch_state() when it's set.
Signed-off-by: Josh Poimboeuf <[email protected]>
Acked-by: Andy Lutomirski <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Reviewed-by: Miroslav Benes <[email protected]>
Reviewed-by: Kamalesh Babulal <[email protected]>
Acked-by: Ingo Molnar <[email protected]> # for the x86 changes
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/linux.c')
0 files changed, 0 insertions, 0 deletions