This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 2/2] Add environment variable tuning for elision parameters.


FWIW your reviews would be easier to read if you snipped uncommented
code.

> > +  if (strncmp (s, "elision", 7) == 0 && (s[7] == 0 || s[7] == ':'))
> > +    {
> > +      __pthread_force_elision = __elision_available;
> > +      if (s[7] == ':')
> > +        elision_aconf_setup (s + 8);
> > +    }
> > +  else if (strncmp (s, "none", 4) == 0 && s[4] == 0)
> 
> This should be "no_elision" or something like that.  A setting like
> "GLIBC_PTHREAD_MUTEX=none" is confusing: no what? no mutexes?

I can add an alias, but I personally prefer none.

-Andi


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]