Re: [PATCH] mm/zswap: provide unique zpool name

2016-04-28 Thread Sergey Senozhatsky
On (04/28/16 05:13), Dan Streetman wrote: > Instead of using "zswap" as the name for all zpools created, add > an atomic counter and use "zswap%x" with the counter number for each > zpool created, to provide a unique name for each new zpool. > > As zsmalloc, one of the zpool implementations, requi

Re: [PATCH] mm/zswap: provide unique zpool name

2016-04-28 Thread Andrew Morton
On Thu, 28 Apr 2016 05:13:23 -0400 Dan Streetman wrote: > Instead of using "zswap" as the name for all zpools created, add > an atomic counter and use "zswap%x" with the counter number for each > zpool created, to provide a unique name for each new zpool. > > As zsmalloc, one of the zpool implem