Hello! > Not a very accurate measurement (jiffies that is). Believe me or not, but the measurement has nanosecond precision. > Since the work queue *is* a thread, you are running a busy loop here. Even > though you call schedule, this thread still may have quota available, and > will not yeild to the work queue. Unless ofcourse this caller is of lower > priority. But even then, I'm not sure how quickly the schedule would > choose the work queue. Instantly. That's why cnt is printed. Unless cnt==1000000, the result is invalid. > get it into -mm) But the thing was is that tasklets IMHO are over used. You preach to a choir. :-) Alexey - 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/
- 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: Regression: 2.6.22-rcX: hda: lost interrupt
- Next by Date: Re: [PATCH 0/6][TAKE5] fallocate system call
- 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):