Re: [PATCH 16/23] sched: Use lightweight hazard pointers to grab lazy mms

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2022-01-09 at 00:49 -0800, Nadav Amit wrote:
> 
> It is possible for instance to get rid of is_lazy, keep the CPU
> on mm_cpumask when switching to kernel thread, and then if/when
> an IPI is received remove it from cpumask to avoid further
> unnecessary TLB shootdown IPIs.
> 
> I do not know whether it is a pure win, but there is a tradeoff.

That's not a win at all. It is what we used to have before
the lazy mm stuff was re-introduced, and it led to quite a
few unnecessary IPIs, which are especially slow on virtual
machines, where the target CPU may not be running.

-- 
All Rights Reversed.

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


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux