On 3/1/22 18:20, Maxim Levitsky wrote:
I don't see that this patch is much different that what I proposed, especially since disable of preemption can be nested.
The difference is that it's done in avic_vcpu_{load,put} instead of the caller. I like that your patch is smaller, but I like that Sean's patch solves it for good.
I queued his, but maybe I could apply yours to 5.17 and his to 5.18. I might do this if I have to send more stuff to Linus before the release.
Paolo