diff options
author | 2017-02-13 19:42:31 -0600 | |
---|---|---|
committer | 2017-03-08 09:19:41 +0100 | |
commit | afb94c9e0b413bbdea779192eaca076c43ede031 (patch) | |
tree | db2daa2ac7965176f149fd0cba58248c960dd10a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | livepatch: create temporary klp_update_patch_state() stub (diff) | |
download | linux-dev-afb94c9e0b413bbdea779192eaca076c43ede031.tar.xz linux-dev-afb94c9e0b413bbdea779192eaca076c43ede031.zip |
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 <jpoimboe@redhat.com>
Acked-by: Andy Lutomirski <luto@kernel.org>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Reviewed-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Acked-by: Ingo Molnar <mingo@kernel.org> # for the x86 changes
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions