Re: [PATCH 1/3] zsmalloc: promote to lib/

From: Nitin Gupta
Date: Wed Sep 26 2012 - 13:06:05 EST


2012/9/26 Pekka Enberg <penberg@xxxxxxxxxx>:
> On Wed, Sep 26, 2012 at 11:50 AM, Minchan Kim <minchan@xxxxxxxxxx> wrote:
>> lib/Kconfig | 2 +
>> lib/Makefile | 1 +
>> lib/zsmalloc/Kconfig | 18 +
>> lib/zsmalloc/Makefile | 1 +
>> lib/zsmalloc/zsmalloc.c | 1064 ++++++++++++++++++++++++++++++
>
> What's wrong with mm/zsmalloc.c?

I think mm/ directory should only contain the code which is intended
for global use such as the slab allocator, page reclaim code etc.
zsmalloc is used by only one (or possibly two) drivers, so lib/ seems
to be the right place.

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/