Re: + mm-zswap-use-workqueue-to-destroy-pool.patch added to -mm tree

2016-04-27 Thread Dan Streetman
On Wed, Apr 27, 2016 at 1:40 AM, Sergey Senozhatsky wrote: > Hello, > > On (04/26/16 16:52), a...@linux-foundation.org wrote: > [..] >> -static void __zswap_pool_release(struct rcu_head *head) >> +static void __zswap_pool_release(struct work_struct *work) >> {

Re: + mm-zswap-use-workqueue-to-destroy-pool.patch added to -mm tree

2016-04-27 Thread Dan Streetman
On Wed, Apr 27, 2016 at 1:40 AM, Sergey Senozhatsky wrote: > Hello, > > On (04/26/16 16:52), a...@linux-foundation.org wrote: > [..] >> -static void __zswap_pool_release(struct rcu_head *head) >> +static void __zswap_pool_release(struct work_struct *work) >> { >> - struct zswap_pool *pool =

Re: + mm-zswap-use-workqueue-to-destroy-pool.patch added to -mm tree

2016-04-26 Thread Sergey Senozhatsky
Hello, On (04/26/16 16:52), a...@linux-foundation.org wrote: [..] > -static void __zswap_pool_release(struct rcu_head *head) > +static void __zswap_pool_release(struct work_struct *work) > { > - struct zswap_pool *pool = container_of(head, typeof(*pool), rcu_head); > + struct zswap_pool

Re: + mm-zswap-use-workqueue-to-destroy-pool.patch added to -mm tree

2016-04-26 Thread Sergey Senozhatsky
Hello, On (04/26/16 16:52), a...@linux-foundation.org wrote: [..] > -static void __zswap_pool_release(struct rcu_head *head) > +static void __zswap_pool_release(struct work_struct *work) > { > - struct zswap_pool *pool = container_of(head, typeof(*pool), rcu_head); > + struct zswap_pool