On Wed, Apr 28, 2010 at 1:03 PM, Changli Gao wrote: > >  static inline int waitqueue_active(wait_queue_head_t *q) >  { > -       return !list_empty(&q->task_list); > +       return !list_empty(&q->task_list) || !list_empty(&q->task_list); >  } > I am sorry. the later task_list should be task_list_ex. The updated patch is attached. And I will replace task_list list with hlist for saving space. -- Regards, Changli Gao(xiaosuo@gmail.com)