[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] how to deal with copy_to_user returning non zero
Thanks, I've found out the reason it page-faulting is because I used malloc() to allocate the output buffer, which turns out to allocate lazily. Therefore the hypervisor page-fault because the memory is still waiting to be mapped by the kernel. I simply touched all the allocated memory, and it works fine now. Cheers. On 7 November 2014 19:01, Andrew Cooper <andrew.cooper3@xxxxxxxxxx> wrote:
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |