On Sat, Aug 31, 2024 at 12:30 PM Larry McVoy <lm(a)mcvoy.com> wrote:
On Sat, Aug 31, 2024 at 11:49:24AM -0700, Kevin Bowling wrote:
Larry, I'll bite. Tell us about HP-UX :)
They didn't understand mmap() semantics at all. The page cache and the
buffer cache both existed, there were races on the coherency and they
didn't share data. So the whole point of mmap(), a window into the
cache, didn't work. If you looked at a file read only with mmap()
and read(), you used 2x the memory you should have because there
were two non-shared caches.
From what I can tell from the documents I linked, and some other
references, they never ended up doing a UBC.
And it was just clunky, I came from SunOS, the bar was
pretty high.
Define clunky, you ask? Making stuff work on HP-UX was way harder
than SunOS. Most open source things, you could just type "make"
and it worked. Not so much on hockey pucks.
--lm