Physical memory temp file.
Hi,
In, vl.c at around line 2480, we see this comment:
/* as we must map the same page at several addresses, we must use
a fd */and then go futzing around in /tmp
Seems to me like we could simply map /dev/zero with MAP_PRIVATE, that way we:
o Don't generate disk I/O's when using memory
o Don't take up a node in temp
o Don't take up diskspace on filesystems which can't create sparse files
o Still allow mapping same page at several addresses
Would a patch to fix this be accepted? Or is my (very cursory) analysis incorrect?
Signature · 3 lines
// Gianni Tedesco (gianni at scaramanga dot co dot uk) lynx --source www.scaramanga.co.uk/scaramanga.asc | gpg --import 8646BE7D: 6D9F 2287 870E A2C9 8F60 3A3C 91B5 7669 8646 BE7D