tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Using mmap(2) in sort(1) instead of temp files



> Date: Fri, 5 Apr 2024 07:36:42 -0400 (EDT)
> From: Mouse <mouse%Rodents-Montreal.ORG@localhost>
> 
> (4) Are there still incoherencies between mmap and read/write access?
> At one time there were, and I never got a good handle on what needed to
> be done to avoid them.

This bug was fixed nearly a quarter century ago, in November 2000,
with the merge of the unified buffer cache.  You can read about it
here:

http://www.usenix.org/event/usenix2000/freenix/full_papers/silvers/silvers.pdf

I think using any version of NetBSD released in this millennium should
be good to avoid the bug.


Home | Main Index | Thread Index | Old Index