Hi, On Tue, Aug 6, 2013 at 4:33 PM, Rajat Sharma <fs.rajat@xxxxxxxxx> wrote: > so has penalty on all files and hence applications. Are you okay with > it? You need it just for one file. purge cache of just one file from > your module. Also there could be open file mappings, you might have to > wait for them to close first. Its ok, the writes happens early on before the shell is started so there are no applications using the file. I stumbled upon invalidate_inode_pages() - testing it right now. Regards. _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies