[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 5/6] mini-os/x86-64 entry: defer RESTORE_REST until return

Xu Zhang, le Fri 08 Mar 2013 15:30:18 -0600, a écrit :
> No need to do a RESTORE_REST at this point because if we saw pending
> events after we enabled event delivery, we have to do a SAVE_REST again.
> Instead, we do a "lazy" RESTORE_REST, deferring it until immediate before
> actual return.

So in the end RESTORE_REST is always along RESTORE_ALL? I guess after
this series of patches, we'll just get merged then?

One could say that it's better to avoid restoring many registers on the
critical path, but I tend to prefer something simple (to maintain), even
if long.

Acked-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.