On Mon, Feb 26, 2018 at 09:46:12AM +0100, Juergen Gross wrote: > When creating a pthread in xs_watch() try to get the minimal needed > size of the thread from glibc instead of using a constant. This avoids > problems when the library is used in programs with large per-thread > memory. > > Use dlsym() to get the pointer to __pthread_get_minstack() in order to > avoid linkage problems and fall back to the current constant size if > not found. > > Signed-off-by: Juergen Gross <[email protected]>
Reviewed-by: Wei Liu <[email protected]> I would like to give Jim a chance to test it before applying. _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
