On 06/29, Steven Rostedt wrote: > > On Fri, 29 Jun 2007, Alexey Kuznetsov wrote: > > > > static void measure_workqueue(void) > > { > > int i; > > int cnt = 0; > > unsigned long start; > > DECLARE_WORK(test, do_test_wq, 0); > > struct workqueue_struct * wq; > > > > start = jiffies; > > > > wq = create_workqueue("testq"); Also, create_workqueue() is very costly. The last 2 lines should be reverted. Oleg. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- From: Alexey Kuznetsov <[email protected]>
- Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- References:
- Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- From: Linus Torvalds <[email protected]>
- Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- From: Ingo Molnar <[email protected]>
- Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- From: Linus Torvalds <[email protected]>
- Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- From: Ingo Molnar <[email protected]>
- Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- From: Jeff Garzik <[email protected]>
- Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- From: Ingo Molnar <[email protected]>
- Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- From: Alexey Kuznetsov <[email protected]>
- Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- From: Ingo Molnar <[email protected]>
- Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- From: Alexey Kuznetsov <[email protected]>
- Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- From: Steven Rostedt <[email protected]>
- Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- Prev by Date: Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- Next by Date: Re: Regression: 2.6.22-rcX: hda: lost interrupt
- Previous by thread: Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- Next by thread: Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- Index(es):