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

Re: [Xen-devel] [PATCH] xenstore: increase default thread stack size to 32k

On 22/02/18 12:33, Ian Jackson wrote:
> Juergen Gross writes ("Re: [Xen-devel] [PATCH] xenstore: increase default 
> thread stack size to 32k"):
>> The main problem is that any thread local storage is taken from the
>> stack without any interface being available for adjusting the _real_
>> stack size instead of the meory for thread local storage + stack.
>> So we can increase the stack size of the xenstore thread and wait for
>> the next breakage, or we have to think about a proper solution.
>> Right now I have no sensible idea how to address the problem, as the
>> old thread suggests the underlying glibc problem isn't fixed yet (wow:
>> the problem is known for more than 7 years now):
>> https://sourceware.org/bugzilla/show_bug.cgi?id=11787
> Oh!
> Thank you, Juergen, for providing facts!
> I withdraw my ack on this patch.
> I agree with all the complaints in the libc bugzilla and disegree with
> glibc upstream.  I think this should be fixed in the libc.  Sadly the
> libc bugzilla doesn't have a libc patch.
> I would accept a workaround in libxenstore that does something similar
> to what they do in Rust...

Yeah, the Rust solution seems to be sensible.

The source patch is easy. How to add the linker flag ("-ldl")? Just do
it in the Makefile of xenstore, or via configure?


Xen-devel mailing list



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