Re: [RFC] Outline of USB process integration in the kernel taskqueue system

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Hans Petter Selasky
Date: Tuesday, November 2, 2010 - 12:39 am

On Monday 01 November 2010 22:14:49 John Baldwin wrote:

Hi John,

No, this is not possible without keeping my own queue, which I want to avoid. 
By state-machine you mean remembering the last state as a separate variable 
and checking that in the task-callback, right? Yes, I do that in addition to 
the new queuing mechanism.

A task barrier does not solve my problem. The barrier in my case is always 
last in the queue. I need to pull out previously queued tasks and put them 
last. That is currently not supported. I do this because I don't want to have 
a FIFO signalling model, and a neither want the pure taskqueue, which only 
ensures execution, not order of execution when at the same priority.

Another issue: Won't the barrier model lead to blocking the caller once the 
task in question is being issued the second time?

--HPS

_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC] Outline of USB process integration in the kernel tas ..., Hans Petter Selasky, (Mon Nov 1, 12:54 pm)
Re: [RFC] Outline of USB process integration in the kernel ..., Hans Petter Selasky, (Mon Nov 1, 1:15 pm)
Re: [RFC] Outline of USB process integration in the kernel ..., Hans Petter Selasky, (Tue Nov 2, 12:39 am)
Re: [RFC] Outline of USB process integration in the kernel ..., Hans Petter Selasky, (Thu Nov 4, 1:38 am)
Re: [RFC] Outline of USB process integration in the kernel ..., Hans Petter Selasky, (Thu Nov 4, 8:10 am)
Re: [RFC] Outline of USB process integration in the kernel ..., Hans Petter Selasky, (Thu Nov 4, 11:41 am)
Re: [RFC] Outline of USB process integration in the kernel ..., Hans Petter Selasky, (Thu Nov 4, 12:08 pm)
Re: [RFC] Outline of USB process integration in the kernel ..., Hans Petter Selasky, (Thu Nov 4, 12:11 pm)
Re: [RFC] Outline of USB process integration in the kernel ..., Hans Petter Selasky, (Thu Nov 4, 1:15 pm)
Re: [RFC] Outline of USB process integration in the kernel ..., Hans Petter Selasky, (Fri Nov 5, 10:36 am)
Re: [RFC] Outline of USB process integration in the kernel ..., Hans Petter Selasky, (Fri Nov 5, 11:30 am)
Re: [RFC] Outline of USB process integration in the kernel ..., Hans Petter Selasky, (Fri Nov 5, 11:35 am)
Re: [RFC] Outline of USB process integration in the kernel ..., Hans Petter Selasky, (Fri Nov 5, 11:45 am)
Re: [RFC] Outline of USB process integration in the kernel ..., Hans Petter Selasky, (Fri Nov 5, 12:00 pm)
Re: [RFC] Outline of USB process integration in the kernel ..., Hans Petter Selasky, (Sat Nov 6, 1:37 am)
Re: [RFC] Outline of USB process integration in the kernel ..., Hans Petter Selasky, (Sat Nov 6, 7:22 am)