Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/netinet
On Wed, Aug 11, 2010 at 09:36:45AM +0000, Antti Kantee wrote:
> Module Name: src
> Committed By: pooka
> Date: Wed Aug 11 09:36:45 UTC 2010
>
> Modified Files:
> src/sys/netinet: ip_carp.c
>
> Log Message:
> Use kpause() instead of DELAY() and sleep a minimum of 1 tick.
> This is possible now since softints have a thread context. It's
> also not a very frequent code path. Addresses ABI issue with delay
> (kern/40505).
Could you or someone else briefly note what is the main difference between
DELAY(9) and kpause(9) when used like this? In what scenarios kpause(9) is
preferable?
- Jukka.
Home |
Main Index |
Thread Index |
Old Index