]> xenbits.xensource.com Git - xen.git/commit
gnttab: avoid spurious maptrack handle allocation failures
authorJan Beulich <jbeulich@suse.com>
Thu, 17 Aug 2017 12:41:01 +0000 (14:41 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 17 Aug 2017 12:41:01 +0000 (14:41 +0200)
commitd02f1a0b7576bafb2fba903c7e6e7221ab0d2847
treeb57e020f58426eda81201b9e53495a5d49bca0aa
parentad48fb963dbff02762d2db5396fa655ac0c432c7
gnttab: avoid spurious maptrack handle allocation failures

When no memory is available in the hypervisor, rather than immediately
failing the request, try to steal a handle from another vCPU.

Reported-by: George Dunlap <george.dunlap@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/common/grant_table.c