Re: [linux-usb-devel] Re: [PATCH 00/10] usb-serial: Switches fromspin lock to atomic_t.

From: Arjan van de Ven
Date: Wed Dec 07 2005 - 07:26:53 EST



> Isn't it right? Is the URB write so fast that switching to atomic_t
> doesn't pay-off?

an atomic_t access and a spinlock are basically the same price... so
what's the payoff ?


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/