[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141220002303.GD11975@blaptop>
Date: Sat, 20 Dec 2014 09:23:03 +0900
From: Minchan Kim <minchan@...nel.org>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Ganesh Mahendran <opensource.ganesh@...il.com>, ngupta@...are.org,
linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] mm/zsmalloc: add statistics support
On Fri, Dec 19, 2014 at 04:17:56PM -0800, Andrew Morton wrote:
> On Sat, 20 Dec 2014 09:10:43 +0900 Minchan Kim <minchan@...nel.org> wrote:
>
> > > It involves rehashing a lengthy argument with Greg.
> >
> > Okay. Then, Ganesh,
> > please add warn message about duplicaed name possibility althoug
> > it's unlikely as it is.
>
> Oh, getting EEXIST is easy with this patch. Just create and destroy a
> pool 2^32 times and the counter wraps ;) It's hardly a serious issue
> for a debugging patch.
I meant that I wanted to change from index to name passed from caller like this
zram:
zs_create_pool(GFP_NOIO | __GFP_HIGHMEM, zram->disk->first_minor);
So, duplication should be rare. :)
--
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