Hacker News new | ask | show | jobs
by remram 1979 days ago
You can't do this with mmap though, you can't instruct the OS to grab pages via HTTP range requests.
2 comments

With userfaultfd(), you can. Not necessarily a good idea, though...
Write a fuse layer.
Or a signal handler (but yes, it is overkill).