Messages in this thread | | | Subject | Re: [PATCH 4/3] KVM: x86/xen: Make runstate cache gpcs share a lock | From | David Woodhouse <> | Date | Tue, 31 Jan 2023 16:58:41 +0000 |
| |
(resending from non-broken system)
On Mon, 2023-01-30 at 14:25 +0900, David Stevens wrote: > From: David Stevens <stevensd@chromium.org> > > Simplify locking in the case where the guest's runstate_info is split > across two pages by sharing a single lock for the two gpcs. > > Signed-off-by: David Stevens <stevensd@chromium.org> > --- > I tested this patch with xen_shinfo_test as suggested, and it still > passes. I agree that it makes sense to do this as a seperate patch. For > the bot reported issue, looks like I forgot to build with lockdep > enabled. I'll fix the issue with that patch in the next revision of the > series, so that there aren't any commits which don't build.
Ack. Running actual Xen guests also works (but it's the xen_shinfo_test which is going to exercise cross-page runstate and is most interesting).
Tested-by: David Woodhouse <dwmw@amazon.co.uk> Reviewed-By: David Woodhouse <dwmw@amazon.co.uk>
[unhandled content-type:application/pkcs7-signature] | |