Re: [PATCH v2] async: fix __lowest_in_progress()

2013-01-22 Thread Linus Torvalds
On Tue, Jan 22, 2013 at 4:15 PM, Tejun Heo wrote: > > Linus, I've updated the description to better explain why it's broken. > The code is ugly but cleanup patches are already ready, so it will be > cleaned up during 3.9-rc1. How should this be routed? I'm not a huge fan of the patch and I might

[PATCH v2] async: fix __lowest_in_progress()

2013-01-22 Thread Tejun Heo
083b804c4d3e1e3d0eace56bdbc0f674946d2847 ("async: use workqueue for worker pool") made it possible that async jobs are moved from pending to running out-of-order. While pending async jobs will be queued and dispatched for execution in the same order, nothing guarantees they'll enter "1) move self