Ian Campbell writes ("[PATCH XEN v5 21/23] tools/libs/foreignmemory: Mention 
restrictions on fork in docs."):
> Signed-off-by: Ian Campbell <ian.campb...@citrix.com>
> Acked-by: Wei Liu <wei.l...@citrix.com>

Oh, good.

>  /*
> - * Return a handle onto the hypercall driver.  Logs errors.
> + * Return a handle onto the foreign memory mapping driver.  Logs errors.
> + *
> + * Note: After fork a child process must not use any opened handle
> + * inherited from their parent. Any existing mappings should be
> + * assumed to become invalid. Therefore children must open a new
> + * handle and make new mappings if necessary.

However, you still need to say how to reclaim the virtual address
space.  (See my comments on the gntmap API.)

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to