[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: process shared mutexes?
From:       Volker Lendecke <Volker.Lendecke () SerNet ! DE>
Date:       2016-11-21 20:23:25
Message-ID: 20161121202325.GA32463 () sernet ! de
[Download RAW message or body]

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
_______________________________________________
freebsd-hackers@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic