Re: [Xen-devel] [PATCH v1.5] x86/livepatch: Prevent patching with active waitqueues

2019-11-22 Thread Sarah Newman
On 11/5/19 11:49 AM, Andrew Cooper wrote: The safety of livepatching depends on every stack having been unwound, but there is one corner case where this is not true. The Sharing/Paging/Monitor infrastructure may use waitqueues, which copy the stack frame sideways and longjmp() to a different

Re: [Xen-devel] [PATCH v1.5] x86/livepatch: Prevent patching with active waitqueues

2019-11-22 Thread Jürgen Groß
On 05.11.19 20:49, Andrew Cooper wrote: The safety of livepatching depends on every stack having been unwound, but there is one corner case where this is not true. The Sharing/Paging/Monitor infrastructure may use waitqueues, which copy the stack frame sideways and longjmp() to a different

[Xen-devel] [PATCH v1.5] x86/livepatch: Prevent patching with active waitqueues

2019-11-05 Thread Andrew Cooper
The safety of livepatching depends on every stack having been unwound, but there is one corner case where this is not true. The Sharing/Paging/Monitor infrastructure may use waitqueues, which copy the stack frame sideways and longjmp() to a different vcpu. This case is rare, and can be worked