Re: pgsql: Improve LWLock scalability. - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: Improve LWLock scalability.
Date
Msg-id 26539.1419534788@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql: Improve LWLock scalability.  (Andres Freund <andres@anarazel.de>)
Responses Re: pgsql: Improve LWLock scalability.  (Andres Freund <andres@anarazel.de>)
List pgsql-committers
Andres Freund <andres@anarazel.de> writes:
> This broke dtrace probes in a trivial way. Looking at the log made me
> notice though that the probes in lwlock.c generate warnings since the
> tranche changes went in.

Yeah, dtrace has never behaved very nicely with "const foo *" arguments.
This is a bug in dtrace, not in our usage of it, and I don't think we
should de-constify our code to work around the warnings.

> Personally I think at this point we could just rip the probe support
> out, but I'm not going to fight for that in earnest.

Not without a replacement for the functionality, IMO.

            regards, tom lane


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: Re: pgsql: Improve LWLock scalability.
Next
From: Andres Freund
Date:
Subject: Re: pgsql: Improve LWLock scalability.