Juergen Gross writes ("Re: [Xen-devel] [PATCH v2] tools/xenstore: try to get
minimum thread stack size for watch thread"):
> On 06/03/18 12:24, Olaf Hering wrote:
> > +ifeq ($(CONFIG_Linux),y)
> > +LDLIBS_libxenstore += -ldl
> > +endif
>
> So we need to add t
On 06/03/18 12:24, Olaf Hering wrote:
> On Fri, Mar 02, Wei Liu wrote:
>
>> But still, Juergen must have tested the change, so I wonder why it
>> doesn't work in your setup. What is your build environment? Gcc version?
>
> Unclear what the difference is between building in clean chroot and locall
On Fri, Mar 02, Wei Liu wrote:
> But still, Juergen must have tested the change, so I wonder why it
> doesn't work in your setup. What is your build environment? Gcc version?
Unclear what the difference is between building in clean chroot and locally.
This change fixes it for me:
--- a/tools/Rul
On Fri, Mar 02, 2018 at 10:23:08AM -0700, Jim Fehlig wrote:
> On 03/02/2018 05:40 AM, Wei Liu wrote:
> > On Fri, Mar 02, 2018 at 12:29:31PM +, Wei Liu wrote:
> > > On Mon, Feb 26, 2018 at 09:53:38AM -0700, Jim Fehlig wrote:
> > > > On 02/26/2018 01:46 AM, Juergen Gross wrote:
> > > > > When cre
On 03/02/2018 05:40 AM, Wei Liu wrote:
On Fri, Mar 02, 2018 at 12:29:31PM +, Wei Liu wrote:
On Mon, Feb 26, 2018 at 09:53:38AM -0700, Jim Fehlig wrote:
On 02/26/2018 01:46 AM, Juergen Gross wrote:
When creating a pthread in xs_watch() try to get the minimal needed
size of the thread from g
On 02/03/18 15:28, Wei Liu wrote:
> On Fri, Mar 02, 2018 at 01:45:14PM +0100, Juergen Gross wrote:
>> On 02/03/18 13:40, Wei Liu wrote:
>>> On Fri, Mar 02, 2018 at 12:29:31PM +, Wei Liu wrote:
On Mon, Feb 26, 2018 at 09:53:38AM -0700, Jim Fehlig wrote:
> On 02/26/2018 01:46 AM, Juergen
On Fri, Mar 02, 2018 at 01:45:14PM +0100, Juergen Gross wrote:
> On 02/03/18 13:40, Wei Liu wrote:
> > On Fri, Mar 02, 2018 at 12:29:31PM +, Wei Liu wrote:
> >> On Mon, Feb 26, 2018 at 09:53:38AM -0700, Jim Fehlig wrote:
> >>> On 02/26/2018 01:46 AM, Juergen Gross wrote:
> When creating a
On 02/03/18 13:40, Wei Liu wrote:
> On Fri, Mar 02, 2018 at 12:29:31PM +, Wei Liu wrote:
>> On Mon, Feb 26, 2018 at 09:53:38AM -0700, Jim Fehlig wrote:
>>> On 02/26/2018 01:46 AM, Juergen Gross wrote:
When creating a pthread in xs_watch() try to get the minimal needed
size of the thre
On Fri, Mar 02, 2018 at 12:29:31PM +, Wei Liu wrote:
> On Mon, Feb 26, 2018 at 09:53:38AM -0700, Jim Fehlig wrote:
> > On 02/26/2018 01:46 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 co
On Mon, Feb 26, 2018 at 09:53:38AM -0700, Jim Fehlig wrote:
> On 02/26/2018 01:46 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 prog
On 02/26/2018 01:46 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 __
Wei Liu writes ("Re: [Xen-devel] [PATCH v2] tools/xenstore: try to get minimum
thread stack size for watch thread"):
> It is already enclosed in CONFIG_Linux. I think that should be enough.
Oh, I see. I had read USE_DLSYM as CONFIG_DLSYM, ie "dlsym is
available".
On Mon, Feb 26, 2018 at 12:03:29PM +, Ian Jackson wrote:
> Wei Liu writes ("Re: [Xen-devel] [PATCH v2] tools/xenstore: try to get
> minimum thread stack size for watch thread"):
> > I don't think FreeBSD needs this particular workaround for glibc FWIW.
>
> In
Wei Liu writes ("Re: [Xen-devel] [PATCH v2] tools/xenstore: try to get minimum
thread stack size for watch thread"):
> I don't think FreeBSD needs this particular workaround for glibc FWIW.
Indeed.
Err, I guess we should have a configure test of some kind then ?
The patc
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 dlsy
On Mon, Feb 26, 2018 at 09:46:01AM +, Roger Pau Monné wrote:
> >
> > if (pthread_attr_init(&attr) != 0) {
> > mutex_unlock(&h->request_mutex);
> > return false;
> > }
> > - if (pthread_attr_setstacksize(&attr, READ_THRE
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 dlsy
17 matches
Mail list logo