diff options
| author | Hugh Dickins <hughd@google.com> | 2017-11-04 18:43:06 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-05 15:44:26 +0100 |
| commit | 8eaca4c7d9f167209a9cc568ff028c0a3b0deb2d (patch) | |
| tree | 48ec83c343ba139184c0c2b470c3e2181dfaaae6 /lib/cpu-notifier-error-inject.c | |
| parent | 0651b3ad99dd59269e2ec883338ab8fba617e203 (diff) | |
kaiser: kaiser_flush_tlb_on_return_to_user() check PCID
Let kaiser_flush_tlb_on_return_to_user() do the X86_FEATURE_PCID
check, instead of each caller doing it inline first: nobody needs
to optimize for the noPCID case, it's clearer this way, and better
suits later changes. Replace those no-op X86_CR3_PCID_KERN_FLUSH lines
by a BUILD_BUG_ON() in load_new_mm_cr3(), in case something changes.
Signed-off-by: Hugh Dickins <hughd@google.com>
Acked-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
