Re: pte-highmem-5

Paul Mackerras (paulus@samba.org)
Wed, 23 Jan 2002 11:56:03 +1100 (EST)


Andrea Arcangeli writes:

> Let's speak about this later. We should ring a bell as soon as we know
> what's really faster (invlpg at every kmap or global tlb flush once
> every 1024 kmaps?).

It would be really good if we could have whatever hooks are necessary
for each architecture to decide this issue in its own way. On PPC for
example a global tlb flush is really expensive, it would be quicker
for us to either flush each kmap page individually or to flush the
range of addresses used for kmaps when we wrap. At the very least I
would like to have a flush_tlb_kernel_range function which would get
called at the end of flush_all_zero_pkmaps instead of flush_tlb_all.

Regards,
Paul.
-
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/