diff options
| author | Dave Hansen <dave.hansen@linux.intel.com> | 2026-05-22 08:43:02 -0700 |
|---|---|---|
| committer | Dave Hansen <dave.hansen@linux.intel.com> | 2026-06-03 08:59:43 -0700 |
| commit | 6e97c234cdf0d11f51f75e918b3f612e57ecd027 (patch) | |
| tree | 3861c1986f50baac894e1f0ec25d0759114253a2 /scripts/Makefile.thinlto | |
| parent | b344c50a1ad4230c86bcc080a08ee65e8c944627 (diff) | |
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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
