summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorDave Hansen <dave.hansen@linux.intel.com>2026-05-22 18:43:02 +0300
committerDave Hansen <dave.hansen@linux.intel.com>2026-06-03 18:59:43 +0300
commit6e97c234cdf0d11f51f75e918b3f612e57ecd027 (patch)
tree3861c1986f50baac894e1f0ec25d0759114253a2 /tools/lib/python
parentb344c50a1ad4230c86bcc080a08ee65e8c944627 (diff)
downloadlinux-6e97c234cdf0d11f51f75e918b3f612e57ecd027.tar.xz
x86/virt/seamldr: Add module update locking
TDX metadata like the version number changes during a module update. Add functions to lock out module updates. The current stop_machine() implementation uses worker threads. The scheduler actually does a full, normal context switch over to that thread. preempt_disable() obviously inhibits that context switch and thus, locks out stop_machine() users like the module update. Thanks to Chao for the idea of using preempt_disable(). Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions