Re: Need help with phys backed shm segments (Postgresql+FreeBSD). - Mailing list pgsql-hackers

From Alfred Perlstein
Subject Re: Need help with phys backed shm segments (Postgresql+FreeBSD).
Date
Msg-id 20001205120409.A8051@fw.wintelcom.net
Whole thread Raw
In response to Re: Need help with phys backed shm segments (Postgresql+FreeBSD).  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Need help with phys backed shm segments (Postgresql+FreeBSD).  (Alfred Perlstein <bright@wintelcom.net>)
List pgsql-hackers
* Tom Lane <tgl@sss.pgh.pa.us> [001205 08:37] wrote:
> BTW, I just remembered that in 7.0.*, the SLocks that are managed by
> SpinAcquire() all live in their own little shm segment.  On a machine
> where slock_t is char, it'd likely only amount to 128 bytes or so.
> Maybe you are seeing some bug in FreeBSD's handling of tiny shm
> segments?

Good call, i think I found it! :)

-- 
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
"I have the heart of a child; I keep it in a jar on my desk."


pgsql-hackers by date:

Previous
From: Bruce Guenter
Date:
Subject: Re: Using Threads?
Next
From: Ed Loehr
Date:
Subject: RI violation msg suggestion