[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CALZtONATN5xj22qRxFWRXOtpQVRa0LXqLLbv7BKcLuKevKkPqw@mail.gmail.com>
Date: Mon, 5 Jan 2015 21:19:51 -0500
From: Dan Streetman <ddstreet@...e.org>
To: Minchan Kim <minchan@...nel.org>
Cc: Ganesh Mahendran <opensource.ganesh@...il.com>,
Nitin Gupta <ngupta@...are.org>,
Seth Jennings <sjennings@...iantweb.net>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux-MM <linux-mm@...ck.org>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] mm/zpool: add name argument to create zpool
On Sun, Dec 28, 2014 at 6:56 PM, Minchan Kim <minchan@...nel.org> wrote:
> On Fri, Dec 26, 2014 at 09:04:55PM +0800, Ganesh Mahendran wrote:
>> Currently the underlay of zpool: zsmalloc/zbud, do not know
>> who creates them. There is not a method to let zsmalloc/zbud
>> find which caller they belogs to.
>>
>> Now we want to add statistics collection in zsmalloc. We need
>> to name the debugfs dir for each pool created. The way suggested
>> by Minchan Kim is to use a name passed by caller(such as zram)
>> to create the zsmalloc pool.
>> /sys/kernel/debug/zsmalloc/zram0
>>
>> This patch adds a argument *name* to zs_create_pool() and other
>> related functions.
>>
>> Signed-off-by: Ganesh Mahendran <opensource.ganesh@...il.com>
> Acked-by: Minchan Kim <minchan@...nel.org>
Acked-by: Dan Streetman <ddstreet@...e.org>
>
> --
> Kind regards,
> Minchan Kim
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists