Re: [RFC patch 1/5] kthread: Implement park/unpark facility

Thomas Gleixner
2012-06-14T20:14:15Z

on Thu, 14 Jun 2012, Silas Boyd-Wickizer wrote:

> Hello,
>
> I've taken a stab at converting stop_machine to use kthread_park and
> kthread_unpark. I don't think stop_machine can use
> smpboot_park_threads (in their current implementation) because, among
> other reasons, _cpu_down calls __stop_machine after parking the
> stopper threads via smpboot_park_threads.

Yes, I know. That's why I haven't touched it yet. That needs some
further modifications down the road.

Thanks,

tglx