Re: Buffer Cache Problem - Mailing list pgsql-hackers

From jacktby jacktby
Subject Re: Buffer Cache Problem
Date
Msg-id A8B7B88B-75B9-40EB-91E1-13E2E48F6A77@gmail.com
Whole thread Raw
In response to Re: Buffer Cache Problem  (Matthias van de Meent <boekewurm+postgres@gmail.com>)
Responses Re: Buffer Cache Problem
List pgsql-hackers
In the bus_internal.h,I see
====================================================
 Note: Buffer header lock (BM_LOCKED flag) must be held to examine or change  tag, state or wait_backend_pgprocno fields.
====================================================
As we all know, this buffer header lock is implemented by a bit in state filed, and this state field is a atomic_u32 type, so in fact we don’t need to 
hold buffer lock when we update state, this comment has error,right?

pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: ResourceOwner refactoring
Next
From: jacktby jacktby
Date:
Subject: Re: Buffer Cache Problem