A while back Bill Irwin converted the page table code on ppc64 to use
a zeroed page slab. I recently did the same on ia64 and got a
significant performance improvement in terms of fault time (4 usec ->
700 nsec).
This cache needs to be initialized fairly early on and so far we've
called it from pgtable_cache_init() on both archs. However, Tony Luck
thought it might be useful to have a general purpose slab cache with
zeroed pages. And other architectures might decide to use it for
their page tables too.
Consequently here's a patch that puts this functionality in slab.c.
Signed-off-by: Martin K. Petersen <mkp@xxxxxxxxxxxxxxxxxx>