>> I think I would appreciate comments to understand why/how the
>> ringbuffer is used, and more comments in general, so it is fine if you
>> improve this part.
>
> I'd suggest to leave out the ringbuffer/new bgwriter parts.
Ok, so the patch would only onclude the checkpointer stuff.
I'll look at this part in detail.
--
Fabien.