News for hackers. Stuff that matters.
Re:Use mmap with care by ben-schaaf on Thursday May 02, 2019 @07:32AM (#19806754)
I might have undersold the performance advantage of writing your own cache, but let me reiterate the point I was trying to make: The reason we didn't consider doing so was because we weren't having a performance issue. Writing our own cache would be strictly more work than just using pread and accomplished the same thing.
Re:Use mmap with care by quotemstr on Thursday May 02, 2019 @11:41AM (#19809069)
Yeah. For your application, you did the right thing. I was speaking more abstractly.