David Boreham <david_list@boreham.org> writes:
> Tom Lane wrote:
>> Having malloc/free use
>> an internal mutex is necessary in multi-threaded programs, but the
>> backend isn't multi-threaded.
> Hmm...confused. I'm not following why then there is contention for the
> mutex.
There isn't any contention for that mutex; Jignesh's results merely show
that it was taken and released a lot of times.
regards, tom lane