On Thu, Oct 21, 2010 at 06:57:15PM +0530, Ajeet Yadav wrote: > Thanks for response, > > Linux kernel I am using is 2.6.30, where as XFS I have ported until 2.6.34 > on given kernel. > Do you think I need the mentioned API > flush_kernel_vmap_range/invalidate_kernel_vmap_range in 2.6.30.9 as well.I > will be grateful if you can provide me sample code for the above API. I don't really know how to implement it - it's up to the cache architecture. Take a look at the existing implementations in 2.6.34+ kernels and possibly ask on the Linux-mips mainglinglist how to implement it.