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

From Qingqing Zhou
Subject Re: Change BgWriterCommLock to spinlock
Date
Msg-id Pine.LNX.4.58.0601081753190.3054@eon.cs
Whole thread Raw
In response to Re: Change BgWriterCommLock to spinlock  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Change BgWriterCommLock to spinlock
List pgsql-patches

On Sun, 8 Jan 2006, Tom Lane wrote:
>
> Why is this a good idea?
>

"In spirit of incremental improvement":
(1) The spinlock itself are light weight than the LWLock here and we can
reduce the lock contention a little bit in AbsorbFsyncRequests();
(2) Don't need the CRITICAL SECTION in AbsorbFsyncRequests() any more;

Regards,
Qingqing

pgsql-patches by date:

Previous
From: Josh Berkus
Date:
Subject: Re: [HACKERS] Inconsistent syntax in GRANT
Next
From: Tom Lane
Date:
Subject: Re: Change BgWriterCommLock to spinlock