[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH XEN v5 21/23] tools/libs/foreignmemory: Mention restrictions on fork in docs.



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

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@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.