From: Seth Jennings Date: Mon, 5 Mar 2012 17:33:21 +0000 (-0600) Subject: staging: zsmalloc: add ZS_MAX_PAGES_PER_ZSPAGE X-Git-Tag: v3.4-rc1~186^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84d4faaba27991bde9fa5ec0716d14ad279ba8ab;p=pandora-kernel.git staging: zsmalloc: add ZS_MAX_PAGES_PER_ZSPAGE This patch moves where max_zspage_order is declared and changes its meaning. "Order" typically implies 2^order of something; however, it is currently being used as the "maximum number of single pages in a zspage". To add clarity, ZS_MAX_ZSPAGE_ORDER is now used to calculate ZS_MAX_PAGES_PER_ZSPAGE, which is 2^ZS_MAX_ZSPAGE_ORDER and is the upper bound on the number of pages in a zspage. Signed-off-by: Seth Jennings Acked-by: Nitin Gupta Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed