lkml.org 
[lkml]   [2012]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 1/3] zsmalloc: promote to lib/
From
2012/9/26 Pekka Enberg <penberg@kernel.org>:
> On Wed, Sep 26, 2012 at 11:50 AM, Minchan Kim <minchan@kernel.org> 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


\
 
 \ /
  Last update: 2012-09-26 19:41    [W:0.470 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site