2 ms·
Followup quizz: A file is held open read only by a process, and then you delete the file. Under memory pressure and without swap, can Linux evict those pages t
by tux3 18d ago
Followup quizz:
A file is held open read only by a process, and then you delete the file. Under memory pressure and without swap, can Linux evict those pages to reclaim memory?
- ButlerianJihad 18d agoThe file's blocks exist in the filesystem. "Those pages" just refers to the ordinary buffer cache for any other disk-based file. No cached pages are necessary to hold open a file on disk.
- tux3 18d agoCorrect! It's still an inode, even without a path.