|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Re: how to handle paged hypercall args?
On 17/11/2010 16:52, "Keir Fraser" <keir@xxxxxxx> wrote:
> On 15/11/2010 13:12, "Olaf Hering" <olaf@xxxxxxxxx> wrote:
>
>> Sorry for being late here.
>>
>> I'm glad you volunteer for this task.
>
> The basis of what you need is checked in as xen-unstable:22396. You can
> include <xen/wait.h> and you get an interface like a very simplified version
> of Linux waitqueues. There are still some details to be worked out but it
> basically works as-is and you can start using it now.
>
> The one big cleanup/audit we will need is that all callers of __hvm_copy()
> (which ends up being all HVM guest callers of the copy_to/from_guest*
> macros) must not hold any locks. This is because you are going to modify
> __hvm_copy() such that it may sleep. Probably you should
> ASSERT(!in_atomic()) at the top of __hvm_copy(), and go from there. :-)
I've done something along these lines now as xen-unstable:22402. It actually
seems to work okay! So you can go ahead and use waitqueues in __hvm_copy()
now.
-- Keir
> -- Keir
>
>>
>> Olaf
>>
>
>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] Re: how to handle paged hypercall args?, (continued)
- Re: [Xen-devel] Re: how to handle paged hypercall args?, Tim Deegan
- Re: [Xen-devel] Re: how to handle paged hypercall args?, Jan Beulich
- Re: [Xen-devel] Re: how to handle paged hypercall args?, Keir Fraser
- Re: [Xen-devel] Re: how to handle paged hypercall args?, Tim Deegan
- Re: [Xen-devel] Re: how to handle paged hypercall args?, Keir Fraser
- Re: [Xen-devel] Re: how to handle paged hypercall args?, Tim Deegan
- Re: [Xen-devel] Re: how to handle paged hypercall args?, Keir Fraser
- Re: [Xen-devel] Re: how to handle paged hypercall args?, Tim Deegan
- Re: [Xen-devel] Re: how to handle paged hypercall args?, Keir Fraser
|
|
|
|
|