[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160908023134.GA21691@bbox>
Date: Thu, 8 Sep 2016 11:31:34 +0900
From: Minchan Kim <minchan@...nel.org>
To: Andreas Mohr <andi@...as.de>
CC: Andrew Morton <akpm@...ux-foundation.org>,
<linux-kernel@...r.kernel.org>,
Sergey Senozhatsky <sergey.senozhatsky@...il.com>
Subject: Re: [RFC] zram: support page-based parallel write
Hello,
On Tue, Sep 06, 2016 at 10:22:20AM +0200, Andreas Mohr wrote:
> On Tue, Sep 06, 2016 at 04:24:17PM +0900, Minchan Kim wrote:
> > @@ -1464,6 +1908,9 @@ static int __init zram_init(void)
> > num_devices--;
> > }
> >
> > + if (create_workers())
> > + goto out_error;
> > +
> > return 0;
> >
> > out_error:
> > @@ -1474,6 +1921,7 @@ static int __init zram_init(void)
> > static void __exit zram_exit(void)
> > {
> > destroy_devices();
> > + destroy_workers();
> > }
>
>
> Asymmetry --> "BUG".
>
> ...right?
destory_workers checks workers list so if it's empty, it doesn
nothing. Anyway, I am chaning thread management model now so
it should be changed, too. :)
>
> (I have to admit that current implementation structure
> is not easy to follow,
> thus I'm not fully sure)
>
>
> Thanks for working in this important area!
Thanks for the interest.
Powered by blists - more mailing lists