Re: [PATCH 01/14] kthread: Fix invalid wakeup in kthreadd

2013-08-29 Thread Paul E. McKenney
On Thu, Aug 29, 2013 at 09:57:36PM +0800, Libin wrote: > If kthreadd is preempted at(or before) location a, and the other thread, > such as calling kthread_create_on_node(), adds a list item to > the kthread_create_list followed with wake_up_process(kthread). After that > when kthreadd is

[PATCH 01/14] kthread: Fix invalid wakeup in kthreadd

2013-08-29 Thread Libin
If kthreadd is preempted at(or before) location a, and the other thread, such as calling kthread_create_on_node(), adds a list item to the kthread_create_list followed with wake_up_process(kthread). After that when kthreadd is re-scheduled, calling set_current_state to set itself as state

[PATCH 01/14] kthread: Fix invalid wakeup in kthreadd

2013-08-29 Thread Libin
If kthreadd is preempted at(or before) location a, and the other thread, such as calling kthread_create_on_node(), adds a list item to the kthread_create_list followed with wake_up_process(kthread). After that when kthreadd is re-scheduled, calling set_current_state to set itself as state

Re: [PATCH 01/14] kthread: Fix invalid wakeup in kthreadd

2013-08-29 Thread Paul E. McKenney
On Thu, Aug 29, 2013 at 09:57:36PM +0800, Libin wrote: If kthreadd is preempted at(or before) location a, and the other thread, such as calling kthread_create_on_node(), adds a list item to the kthread_create_list followed with wake_up_process(kthread). After that when kthreadd is