From: Minchan Kim Date: Wed, 11 Dec 2013 02:04:36 +0000 (+0900) Subject: zsmalloc: add Kconfig for enabling page table method X-Git-Tag: v3.14-rc1~150^2~499 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b945aeef0b9cb5e98d682c310272b08198e54b5;p=pandora-kernel.git zsmalloc: add Kconfig for enabling page table method Zsmalloc has two methods 1) copy-based and 2) pte based to access objects that span two pages. You can see history why we supported two approach from [1]. But it was bad choice that adding hard coding to select arch which want to use pte based method because there are lots of SoC in an architecure and they can have different cache size, CPU speed and so on so it would be better to expose it to user as selectable Kconfig option like Andrew Morton suggested. [1] https://lkml.org/lkml/2012/7/11/58 Acked-by: Nitin Gupta Reviewed-by: Konrad Rzeszutek Wilk Signed-off-by: Minchan Kim Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed