linux/arch/powerpc/include
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
..
asm powerpc/mm: Optimize detection of thread local mm's 2017-08-23 22:28:38 +10:00
uapi/asm tty: Fix TIOCGPTPEER ioctl definition 2017-07-17 17:04:41 +02:00