On Thu, Aug 26, 2010 at 6:03 PM, Minchan Kim <minchan.kim@gmail.com> wrote:
We found the problem on one of our workloads where more TLB flush
happens without the change. Kswapd seems to be calling
shrink_active_list() which eventually clears access bit of those ptes
and does TLB flush
with ptep_clear_flush_young(). This system does not have swap
configured, and why aging the anon lru in that
case?
Lots of TLB flush hurts the performance especially on large smp system. So does
it make sense if change it to:
+ if (nr_swap_pages == 0)
+ return 0;
--Ying
--