On Wed, 07 Dec 2005 13:27:13 +0100 Arjan van de Ven <arjan@infradead.org> 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [linux-usb-devel] Re: [PATCH 00/10] usb-serial: Switches from spin lock to atomic_t.
- From: Arjan van de Ven <arjan@infradead.org>
- Re: [linux-usb-devel] Re: [PATCH 00/10] usb-serial: Switches from spin lock to atomic_t.
- References:
- [PATCH 00/10] usb-serial: Switches from spin lock to atomic_t.
- From: Luiz Fernando Capitulino <lcapitulino@mandriva.com.br>
- Re: [PATCH 00/10] usb-serial: Switches from spin lock to atomic_t.
- From: Greg KH <gregkh@suse.de>
- Re: [PATCH 00/10] usb-serial: Switches from spin lock to atomic_t.
- From: Eduardo Pereira Habkost <ehabkost@mandriva.com>
- Re: [linux-usb-devel] Re: [PATCH 00/10] usb-serial: Switches from spin lock to atomic_t.
- From: Oliver Neukum <oliver@neukum.org>
- Re: [linux-usb-devel] Re: [PATCH 00/10] usb-serial: Switches from spin lock to atomic_t.
- From: Luiz Fernando Capitulino <lcapitulino@mandriva.com.br>
- Re: [linux-usb-devel] Re: [PATCH 00/10] usb-serial: Switches from spin lock to atomic_t.
- From: Arjan van de Ven <arjan@infradead.org>
- [PATCH 00/10] usb-serial: Switches from spin lock to atomic_t.
- Prev by Date: Re: [linux-usb-devel] Re: [PATCH 00/10] usb-serial: Switches from spin lock to atomic_t.
- Next by Date: Re: [PATCH 06/16] mm: balance slab aging
- Previous by thread: Re: [linux-usb-devel] Re: [PATCH 00/10] usb-serial: Switches from spin lock to atomic_t.
- Next by thread: Re: [linux-usb-devel] Re: [PATCH 00/10] usb-serial: Switches from spin lock to atomic_t.
- Index(es):
![]() |