Re: Change BgWriterCommLock to spinlock - Mailing list pgsql-patches

From Tom Lane
Subject Re: Change BgWriterCommLock to spinlock
Date
Msg-id 24503.1136768906@sss.pgh.pa.us
Whole thread Raw
In response to Re: Change BgWriterCommLock to spinlock  (Qingqing Zhou <zhouqq@cs.toronto.edu>)
Responses Re: Change BgWriterCommLock to spinlock  (Qingqing Zhou <zhouqq@cs.toronto.edu>)
List pgsql-patches
Qingqing Zhou <zhouqq@cs.toronto.edu> writes:
> Do you suggest it makes sense that we continue to work on the patch or let
> it be?

I don't see any problem here that urgently needs solving.  If we ever
see any reports of out-of-memory failures in the bgwriter, then it'll
be time to worry about this, but I think it quite unlikely that we
ever will.  (Even if we do, a simpler answer would be to increase
the initial size of the pending-requests hashtable.)

            regards, tom lane

pgsql-patches by date:

Previous
From: Qingqing Zhou
Date:
Subject: Re: Change BgWriterCommLock to spinlock
Next
From: Qingqing Zhou
Date:
Subject: Re: Change BgWriterCommLock to spinlock