[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Xen-devel] Re: [PATCH v3 2/2] xen: modify kernel mappings corresponding to granted pages
On 09/07/2011 10:38 AM, Stefano Stabellini wrote:
>> But also, this pattern of getting results back from batched calls is
>> unusual - actually, I think this is unique. If you have batched up a
>> map operation which has its map_op args allocated from the multicall
>> buffer, then the flush will implicitly free them as well, so it isn't
>> valid to read back from the structure later on. If you want to have an
>> args structure you can use once the hypercall has been issued, you need
>> to manually manage its lifetime.
> But I am not using the multicall buffer as argument, I am using the
> kmap_op passed to m2p_add_override.
Yep, I overlooked that.
Xen-devel mailing list