Re: [PATCH 0/7] x86/mm/tlb: make lazy TLB mode even lazier

From: Rik van Riel
Date: Wed Oct 24 2018 - 08:52:20 EST


On Wed, 2018-10-24 at 07:53 +0200, Ingo Molnar wrote:
> * Rik van Riel <riel@xxxxxxxxxxx> wrote:
>
> > The big thing remaining is the reference count overhead of
> > the lazy TLB mm_struct, but getting rid of that is rather a
> > lot of code for a small performance gain. Not quite what
> > Linus asked for :)
>
> BTW., what would be the plan to improve scalability there,
> is it even possible?

One thing I looked at was shooting down the lazy TLB
MM from the exit code path, that way the MM would no
longer be referenced from any CPU by the time the
memory gets freed.

Once we do that, we no longer need to do any refcounting
for the lazy TLB MM.

--
All Rights Reversed.

Attachment: signature.asc
Description: This is a digitally signed message part