Ian Campbell writes ("[PATCH XEN v6 30/32] tools/libs/call: linux: avoid 
forking between mmap and madvise"):
> Use pthread_atfork to prevent the application from forking before the
> madvisoe(), which would result in CoW mappings getting passed to
> hypercalls.

OMG.

Is it not possible (not effective) to use mlock/madvise in the parent
?

pthread_atfork is a very big hammer to be using in libxc.

Ian.

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

Reply via email to