how to knock a page out of file cache
ishwor.gurung at gmail.com
Wed Oct 21 09:19:31 CEST 2009
> Also, are you looking for sync(2) http://linux.die.net/man/2/sync?
Also, maybe mmap.flush([offset, size]) @
Get the file, mmap it and flush it. The docs has more info on flush(...)
Afaik, ultimately the kernel will control the writebacks of dirty
pages and their frequency of writebacks.
So if you want the shortest path, you can choose to go the /proc path.
More information about the Python-list