Messages in this thread | | | Subject | Re: [PATCH 1/1] kthread: disable preemption during complete() | From | Peter Zijlstra <> | Date | Thu, 26 Jul 2012 21:29:52 +0200 |
| |
On Thu, 2012-07-26 at 17:54 +0200, Oleg Nesterov wrote: > Yes, but this "avoid the preemption after wakeup" can actually help > kthread_bind()->wait_task_inactive() ?
Yeah.
> This reminds me, Peter had a patch which teaches wait_task_inactive() > to use sched_in/sched_out notifiers to avoid the polling...
I did, but from what I could remember you shot holes in it and I didn't find a way to plug them and not make it a bigger mess than it is now :/
| |