tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Invalidate page cache

you can use msync() with MS_INVALIDATE.


On Sat, Nov 29, 2014 at 01:06:10PM +0100, Emmanuel Dreyfus wrote:
> Hi
> Is there a way to invalidate the page cache of a given file, from
> userland? I understand fsync() will flush pending writes, but what about
> if we want to flush cached data?
> -- 
> Emmanuel Dreyfus

Home | Main Index | Thread Index | Old Index