aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/radix-tree/linux.c
diff options
context:
space:
mode:
authorJosh Poimboeuf <[email protected]>2017-02-13 19:42:31 -0600
committerJiri Kosina <[email protected]>2017-03-08 09:19:41 +0100
commitafb94c9e0b413bbdea779192eaca076c43ede031 (patch)
treedb2daa2ac7965176f149fd0cba58248c960dd10a /tools/testing/radix-tree/linux.c
parent46c5a0113f843be5c55b1c40dd486538891156d4 (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