staging: zsmalloc: add page table mapping method
authorSeth Jennings <sjenning@linux.vnet.ibm.com>
Wed, 18 Jul 2012 16:55:56 +0000 (11:55 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Aug 2012 02:28:09 +0000 (19:28 -0700)
commitf553646a67cb215577402cb702b67c8cf8fdb46f
treee7739e773d9cf5c243e12e5bb207ef6b2d69b578
parentc60369f011251c60de506994aab088f1afb90bf4
staging: zsmalloc: add page table mapping method

This patchset provides page mapping via the page table.
On some archs, most notably ARM, this method has been
demonstrated to be faster than copying.

The logic controlling the method selection (copy vs page table)
is controlled by the definition of USE_PGTABLE_MAPPING which
is/can be defined for any arch that performs better with page
table mapping.

Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com>
Acked-by: Minchan Kim <minchan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/zsmalloc/zsmalloc-main.c
drivers/staging/zsmalloc/zsmalloc_int.h