Subject: Re: fsync performance hit on 1.6.1
To: None <tech-kern@netbsd.org>
From: Matthew Mondor <mmondor@gobot.ca>
List: tech-kern
Date: 07/10/2003 18:08:52
On Tue, Jul 08, 2003 at 08:18:19PM +0200, Matthias Buelow wrote:

> David Laight writes:
> 
> >SYSV shared memory is horrid stuff!
> >Just mmap a file!
> 
> Indeed, it is just compatibility stuff.  I'm apalled that new software
> is still using that deprecated (and ill-conceived) API.  Maybe it's
> because Gnu/Linux can't do any other method (at least the last time
> I looked.)  That shouldn't mean that on other systems (SVR4/44BSD)
> that broken API should be used aswell.

I have used BSD style shared memory using mmap(2) with MAP_ANON on linux 2.4
and it worked fine... For synchronization I used flock(3) on temporary
lock files with it

Matt