process shared mutexes?

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Nov 21 20:23:32 UTC 2016


On Mon, Nov 21, 2016 at 06:41:09PM +0200, Konstantin Belousov wrote:
> > So -- all of the above discussion becomes irrelevant if I change tdb
> > such that it keeps the mutex area mmappe'd at least once? Then no GC
> > will kick in regardless of the sysctl? This would be possible, because
> > we use mutexes on so-called CLEAR_IF_FIRST databases only. When the last
> > process closes the db, it will be wiped on the next open.
> 
> If the file is mmaped, then yes, the mutex must be not destroyed.  If it
> is, then there is a bug in the current implementation.

Just wanted to say thanks! With a pretty simple change to tdb our
tdbtorture runs smoothly on FreeBSD 11!

Volker


More information about the freebsd-hackers mailing list