Messages in this thread | | | From | "Luck, Tony" <> | Subject | RE: [PATCH 4/8] x86/traps: Demand-populate PASID MSR via #GP | Date | Wed, 29 Sep 2021 01:06:52 +0000 |
| |
>> fpregs_lock(); > > I'm afraid we may hit the same locking issue when we send IPI to notify another task to modify its > PASID state. Here the API is called to modify another running task's PASID state as well without a right lock. > fpregs_lock() is not enough to deal with this, I'm afraid.
We don't send IPI any more to change PASID state. The only place that the current patch series touches the PASID MSR is in the #GP fault handler.
-Tony
| |