sh: Move page table allocation out of line
commit2a5eacca85d39d8b6dffae821d7d260f05584dc7
authorMatt Fleming <matt@console-pimps.org>
Thu, 31 Dec 2009 12:19:24 +0000 (31 12:19 +0000)
committerMatt Fleming <matt@console-pimps.org>
Sat, 2 Jan 2010 01:02:25 +0000 (2 01:02 +0000)
treed3c686fffb3b181a6d9b6790ce912e308c45a0ce
parentb4c892762373c5e59c7e8db35f5f9a7658602bda
sh: Move page table allocation out of line

We also switched away from quicklists and instead moved to slab
caches. After benchmarking both implementations the difference is
negligible. The slab caches suit us better though because the size of a
pgd table is just 4 entries when we're using a 3-level page table layout
and quicklists always deal with pages.

Signed-off-by: Matt Fleming <matt@console-pimps.org>
arch/sh/include/asm/pgalloc.h
arch/sh/include/asm/pgalloc_nopmd.h [deleted file]
arch/sh/include/asm/pgalloc_pmd.h [deleted file]
arch/sh/include/asm/pgtable.h
arch/sh/mm/Makefile
arch/sh/mm/pgtable.c [new file with mode: 0644]