Re: if_start running deferred for Giant
- From: Robert Watson <rwatson@xxxxxxxxxxx>
- Date: Mon, 31 Dec 2007 00:29:47 +0000 (GMT)
On Mon, 31 Dec 2007, Tofig Suleymanov wrote:
xxxxxx kernel: ib0: if_start running deferred for Giant
I am not sure what does this exactly mean.
Any help would be appreciated.
This occurs when a network device driver has declared itself IFF_NEEDSGIANT -- that is, has declared that it requires the Giant lock in order to operate. As this is considered an undesirable state of affairs for a device driver, a warning is printed. However, in the case of a USB device driver, it is currently required as the USB framework is not MPSAFE, so requires Giant.
Thanks for clarification. Does it mean that I can ignore this notice when dealing with USB framework ?
For now, yes. When, at some point, the USB framework is MPSAFE, we'll need to remove IFF_NEEDSGIANT, and I'd make sure that your device driver is as ready as it can be to operate Giant-free once that's done.
Robert N M Watson
Computer Laboratory
University of Cambridge
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: if_start running deferred for Giant
- From: Tofig Suleymanov
- Re: if_start running deferred for Giant
- References:
- if_start running deferred for Giant
- From: Tofig Suleymanov
- Re: if_start running deferred for Giant
- From: Robert Watson
- Re: if_start running deferred for Giant
- From: Tofig Suleymanov
- if_start running deferred for Giant
- Prev by Date: Re: if_start running deferred for Giant
- Next by Date: Re: if_start running deferred for Giant
- Previous by thread: Re: if_start running deferred for Giant
- Next by thread: Re: if_start running deferred for Giant
- Index(es):