staging: zsmalloc: add single-page object fastpath in unmap
authorSeth Jennings <sjenning@linux.vnet.ibm.com>
Mon, 2 Jul 2012 21:15:50 +0000 (16:15 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Jul 2012 18:34:59 +0000 (11:34 -0700)
commit103123305c4f695cbb11555d51a32ea14d6bed05
treeafffe95f37834030298e3480a57af6e45d18490c
parent5f601902c61e6cda627ec71c10609021067ed0fa
staging: zsmalloc: add single-page object fastpath in unmap

Improve zs_unmap_object() performance by adding a fast path for
objects that don't span pages.

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