Nicholas Piggin d262bd5a73 powerpc/mm/slice: Use const pointers to cached slice masks where possible
The slice_mask cache was a basic conversion which copied the slice
mask into caller's structures, because that's how the original code
worked. In most cases the pointer can be used directly instead, saving
a copy and an on-stack structure.

On POWER8, this increases vfork+exec+exit performance by 0.3%
and reduces time to mmap+munmap a 64kB page by 2%.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2018-03-13 23:43:08 +11:00
..
2018-01-21 23:21:14 +11:00
2017-11-16 12:47:46 -08:00
2018-02-06 10:41:33 -08:00
2018-01-20 21:45:03 +11:00
2018-02-06 10:41:33 -08:00
2018-01-21 01:06:10 +11:00