Remix.run Logo
tux3 10 hours 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 9 hours ago | parent [-]

The 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 9 hours ago | parent [-]

Correct! It's still an inode, even without a path.