how to knock a page out of file cache

Paul Rubin http
Wed Oct 21 08:41:24 CEST 2009

birdsong <david.birdsong at> writes:
> Does anybody know of a system call that will 'knock' the file out of
> file cache?  Can madvise or fadvise do this?

I don't think so.  Best I can think of is unmount and remount the file
system.  And I don't know if even that is guaranteed if you don't
physically remove/unplug the device.

More information about the Python-list mailing list