Re: [PATCH 1/4] zsmalloc: rename zspage_order with zspage_pages

From: Nitin Gupta
Date: Thu May 03 2012 - 09:18:15 EST


On 5/3/12 2:40 AM, Minchan Kim wrote:
zspage_order defines how many pages are needed to make a zspage.
So_order_ is rather awkward naming. It already deceive Jonathan
-http://lwn.net/Articles/477067/
" For each size, the code calculates an optimum number of pages (up to 16)"

Let's change from_order_ to_pages_ and some function names.

Signed-off-by: Minchan Kim<minchan@xxxxxxxxxx>
---
drivers/staging/zsmalloc/zsmalloc-main.c | 14 +++++++-------
drivers/staging/zsmalloc/zsmalloc_int.h | 2 +-
2 files changed, 8 insertions(+), 8 deletions(-)

Acked-by: Nitin Gupta <ngupta@xxxxxxxxxx>

Thanks,
Nitin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/