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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: John Baldwin
Date: Friday, November 5, 2010 - 12:06 pm

On Friday, November 05, 2010 3:00:37 pm Hans Petter Selasky wrote:

You can't close that race in taskqueue_cancel().  You have to manage that
race yourself in your task handler.  For the callout(9) API we are only
able to close that race if you use callout_init_mtx() so that the code
managing the callout wheel can make use of your lock to resolve the races.
If you use callout_init() you have to explicitly manage these races in your
callout handler.

-- 
John Baldwin
_______________________________________________
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 ..., John Baldwin, (Fri Nov 5, 12:06 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)