[PATCH 3/6] tlb: mmu_gather: Remove unused start/end arguments from tlb_finish_mmu()

Linus Torvalds torvalds at linux-foundation.org
Fri Nov 20 12:20:43 EST 2020


On Fri, Nov 20, 2020 at 6:36 AM Will Deacon <will at kernel.org> wrote:
>
> tlb_finish_mmu() takes two confusing and unused 'start'/'end' address
> arguments. Remove them.

Ack, but please add the history to it.

Those arguments were used, up until 7a30df49f63a ("mm: mmu_gather:
remove __tlb_reset_range() for force flush").

And the thing is, using a range flush in theory might be better, but
for simplicity it's now doing a "fullmm" one, which is why those
arguments no longer matter.

(And I think we track the range better now too, which may be another
reason they aren't needed)

          Linus

                 Linus



More information about the linux-arm-kernel mailing list