[lkml]   [2005]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [linux-usb-devel] Re: [PATCH 00/10] usb-serial: Switches from spin lock to atomic_t.
On Wed, 07 Dec 2005 13:27:13 +0100
Arjan van de Ven <> wrote:

| > 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 ?

One lock less, clean and less error prone code.

Luiz Fernando N. Capitulino
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-12-07 13:33    [W:0.085 / U:2.696 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site