WSL2-Linux-Kernel/arch/powerpc/include/asm/book3s
Benjamin Herrenschmidt a619e59c07 powerpc/mm: Optimize detection of thread local mm's
Instead of comparing the whole CPU mask every time, let's
keep a counter of how many bits are set in the mask. Thus
testing for a local mm only requires testing if that counter
is 1 and the current CPU bit is set in the mask.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2017-08-23 22:28:38 +10:00
..
32 powerpc/hugetlb: fix page rights verification in gup_hugepte() 2017-08-15 22:55:58 +10:00
64 powerpc/mm: Optimize detection of thread local mm's 2017-08-23 22:28:38 +10:00
pgalloc.h powerpc/mm/radix: Flush page walk cache when freeing page table 2016-06-10 16:14:52 +10:00
pgtable.h powerpc/mm: Move PTE bits from generic functions to hash64 functions. 2015-12-14 15:19:08 +11:00