> Look at the next hunk in the patch.  The old path set *tlbp to NULL
> if we exit this function having called tlb_finish_mmu().  In that case,
> we avoid calling tlb_finish_mmu() again.  Otherwise, *tlbp is left
> pointing at the mmu_gather structure, and it's left for zap_page_range()
> to call tlb_finish_mmu().

Ah yes.  That does look a bit cleaner.

So on ia64 we are just swapping some tlb_finish_mmu() calls for
tlb_flush_mmu() (formerly known as ia64_tlb_flush_mmu()).  The
only work we save are the calls to check_pgt_cache() and
put_cpu_var(mmu_gathers) ... which sounds like we may have less
preemption opportunities in this loop (in the cases where we take
the !need_resched() path).

-Tony
-
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to