Re: [Xen-devel] [PATCH v2 3/3] tools/libxc: retry hypercall in case of EFAULT

2018-06-18 Thread Ian Jackson
Juergen Gross writes ("[PATCH v2 3/3] tools/libxc: retry hypercall in case of EFAULT"): > A hypercall issued via the privcmd driver can very rarely return > -EFAULT even if the hypercall buffers are locked in memory. This > happens for hypercall buffers in user memory when the Linux kernel > is do

[Xen-devel] [PATCH v2 3/3] tools/libxc: retry hypercall in case of EFAULT

2018-06-18 Thread Juergen Gross
A hypercall issued via the privcmd driver can very rarely return -EFAULT even if the hypercall buffers are locked in memory. This happens for hypercall buffers in user memory when the Linux kernel is doing memory scans e.g. for page migration or compaction. Retry the getpageframeinfo3 hypercall up