Messages in this thread | | | From | Andi Kleen <> | Subject | Re: [PATCH] add execute_in_process_context() API | Date | Wed, 8 Feb 2006 09:50:11 +0100 |
| |
On Wednesday 08 February 2006 09:18, Andrew Morton wrote: > Andi Kleen <ak@suse.de> wrote: > > > > James Bottomley <James.Bottomley@SteelEye.com> writes: > > > > In general this seems like a lot of code for a simple problem. > > It might be simpler to just put the work structure into the parent > > object and do the workqueue unconditionally > > > > That apparently would have really bad performance problems. If we're > !in_interrupt() we want to do the work synchronously.
It depends if it's common or not. If it's uncommon then simpler code is better.
-Andi - 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/
| |