On 24/02/18 02:22, Jim Fehlig wrote:
> On 02/22/2018 06:53 AM, 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]>
>> ---
>> Only compile tested. Jim, can you please verify this patch is solving
>> your original problem?
> 
> It didn't help, but it could be due to my buggy glibc

No, it was just a silly mistake in my patch.

Sending V2 soon...


Juergen


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to