Re: [PATCH v2] net: Generalise wq_has_sleeper helper

2015-11-30 Thread David Miller
From: Herbert Xu Date: Thu, 26 Nov 2015 13:55:39 +0800 > The memory barrier in the helper wq_has_sleeper is needed by just > about every user of waitqueue_active. This patch generalises it > by making it take a wait_queue_head_t directly. The existing > helper is renamed to skwq_has_sleeper. >

Re: [PATCH v2] net: Generalise wq_has_sleeper helper

2015-11-30 Thread David Miller
From: Herbert Xu Date: Thu, 26 Nov 2015 13:55:39 +0800 > The memory barrier in the helper wq_has_sleeper is needed by just > about every user of waitqueue_active. This patch generalises it > by making it take a wait_queue_head_t directly. The existing > helper is

[PATCH v2] net: Generalise wq_has_sleeper helper

2015-11-25 Thread Herbert Xu
On Wed, Nov 25, 2015 at 11:37:29AM -0500, David Miller wrote: > > > Would be easier to refer to the comment that now adorns > > waitqueue_active(). > > Yeah, that might be a good idea. Herbert can you adjust this? Sure, here is an updated patch. Note that this patch is based on net-next where

[PATCH v2] net: Generalise wq_has_sleeper helper

2015-11-25 Thread Herbert Xu
On Wed, Nov 25, 2015 at 11:37:29AM -0500, David Miller wrote: > > > Would be easier to refer to the comment that now adorns > > waitqueue_active(). > > Yeah, that might be a good idea. Herbert can you adjust this? Sure, here is an updated patch. Note that this patch is based on net-next where