diff options
author | Seth Jennings <sjenning@linux.vnet.ibm.com> | 2012-07-02 16:15:49 -0500 |
---|---|---|
committer | Simon Shields <keepcalm444@gmail.com> | 2016-06-12 21:19:33 +1000 |
commit | 4c7cee5b45d355000398330faddd9e91a51dc643 (patch) | |
tree | 71b2ddd7af507bf46aa2f680fe61aedbacc448cd /mm | |
parent | a6376ca6e6efa5cb3c6c2dc07796772cb8f8853f (diff) | |
download | kernel_samsung_smdk4412-4c7cee5b45d355000398330faddd9e91a51dc643.zip kernel_samsung_smdk4412-4c7cee5b45d355000398330faddd9e91a51dc643.tar.gz kernel_samsung_smdk4412-4c7cee5b45d355000398330faddd9e91a51dc643.tar.bz2 |
CHROMIUM: UPSTREAM: staging: zsmalloc: remove x86 dependency
This patch replaces the page table assisted object mapping
method, which has x86 dependencies, with a arch-independent
method that does a simple copy into a temporary per-cpu
buffer.
While a copy seems like it would be worse than mapping the pages,
tests demonstrate the copying is always faster and, in the case of
running inside a KVM guest, roughly 4x faster.
Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
BUG=chromium-os:36829
TEST=extensive manual testing
Change-Id: I8b41c92eb146c5cf0af40682802ba443f7810a0b
Signed-off-by: Luigi Semenzato <semenzato@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/38999
Reviewed-by: Olof Johansson <olofj@chromium.org>
Conflicts:
drivers/staging/zsmalloc/Kconfig
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions