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

Re: [Xen-devel] [PATCH 6/6] mini-os/x86-64 entry: check against nested events and try to fix up



Xu Zhang, le Fri 08 Mar 2013 15:30:19 -0600, a écrit :
> In hypervisor_callback, check against event re-entrant.
> If that's the case, try to fix up by looking up the number of bytes
> restored when the second event came and coalescing the two stack frames.
> The execution is resumed as if the second event never happened.

> -     movq %rdi, RDI(%rsp)            
> +     movq %rdi, RDI(%rsp)

Again, please avoid.

> +             andb $KERNEL_CS_MASK,CS(%rsp)      # CS on stack might have 
> changed

I don't see why this.

Samuel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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