On 06/27, Max Krasnyansky wrote:Excellent. Feel free to includeI'm not sure if you guys saw my last email on this. So I'll restart the thread.
If you guys are ok with the summary I provided below I can put all Oleg's patches into some git tree, test them on my boxes and resend to Andrew.
I'll re-send these flush_work() patches to Andrew on Sunday,
Well, you've already found one (schedule_on_each_cpu()) there will probably be more. But I agree that flush is mostly used in cleanup procedures and therefor most users just need cancel_work_sync().I was also going to go over the users of flush_queued_work() and convert them to cancel_work_sync() and/or flush_work().
I think this would be very nice in any case.
but I don't think flush_work() will find a lot of users...