Re: pte-highmem-5

Paul Mackerras
2002-01-23T00:57:54Z

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.