Messages in this thread | | | Date | Sun, 17 Dec 2006 19:09:36 -0800 (PST) | From | Linus Torvalds <> | Subject | Re: [PATCH, RFC] reimplement flush_workqueue() |
| |
On Mon, 18 Dec 2006, Oleg Nesterov wrote: > > Remove ->remove_sequence, ->insert_sequence, and ->work_done from > struct cpu_workqueue_struct. To implement flush_workqueue() we can > queue a barrier work on each CPU and wait for its completition.
Looks fine to me. It's after -rc1 so I won't apply it, but it looks like a nice cleanup.
Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |