Re: Linux-2.5.17

David S. Miller (davem@redhat.com)
Wed, 22 May 2002 04:27:23 -0700 (PDT)


From: Russell King <rmk@arm.linux.org.uk>
Date: Wed, 22 May 2002 12:19:29 +0100

So we have 3 different functions, 2 different orders of gather_mmu
and cache handling, and one with no cache handling what so ever.

I think we have two options - either leave the cache handling up to
tlb_start_vma() (in which case, flush_cache_range and flush_cache_mm
are redundant and should be removed) or let it be up to the caller
of tlb_gather_mmu to call the right cache handling function.

We're in very much agreement with you, that is why we are
still hashing out how to make this thing as optimal as
possible.

The idea currently is that the tlb_vma_{start,end}() handle
cache and tlb flush respectively.

Ignore the exit_mmap() case, it will be optimized to shreds :-)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/