Messages in this thread | | | Date | Tue, 27 Jun 2023 12:50:12 +0300 | From | kirill.shutemov@linux ... | Subject | Re: [PATCH v12 07/22] x86/virt/tdx: Add skeleton to enable TDX on demand |
| |
On Tue, Jun 27, 2023 at 02:12:37AM +1200, Kai Huang wrote: > + /* > + * The TDX module global initialization only needs to be done > + * once on any cpu. > + */ > + raw_spin_lock_irqsave(&tdx_global_init_lock, flags);
I don't understand how the comment justifies using raw spin lock.
-- Kiryl Shutsemau / Kirill A. Shutemov
| |