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 1/5][v2][BZ #15022] Avoid repeated calls to DL_STATIC_INIT


I concur with your analysis.  (I was considering the relationship of the
two locks when responding to HJ earlier, but failed to be clear about it.)
I think it's wise to make the removal of the extraneous lock a separate
follow-up change, just for paranoia's sake (i.e. ease of reversion if
needed for some unforeseen reason).

The issue of the internal lock held while calling user initializers is
entirely separate.  It has concerned me before when I've noticed it in
passing, but I never dawdled long enough to bring it up for discussion.  I
think you should file a bug about that one and we'll consider it separately
later.  But that will clearly have to be after the impending freeze.


Thanks,
Roland


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