Hi! > since you are the original author of netdev LED trigger, I guess this > question should go to you. Why are spinlocks used as locks in the > netdev trigger code? Is this for performance? Would it be a drastic > performance hit to use mutexes? Triggers can be called from interrupt context, IIRC, and many simple LEDs can be operated from interrupt context, too. Thus you need spinlocks... Best regards, Pavel -- http://www.livejournal.com/~pavelmachek
Attachment:
signature.asc
Description: PGP signature