On Wed, 07 Dec 2005 13:34:38 +0100 Arjan van de Ven <[email protected]> wrote: | On Wed, 2005-12-07 at 10:30 -0200, Luiz Fernando Capitulino wrote: | > On Wed, 07 Dec 2005 13:27:13 +0100 | > Arjan van de Ven <[email protected]> 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, | | where? In the 'usb_serial_port', my patch number nine removes the spin lock. | spin_unlock in principle runs unlocked on x86 at least | (except for ppro workarounds but those are/should be optional) | | -- Luiz Fernando N. Capitulino - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] 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: Luiz Fernando Capitulino <[email protected]>
- 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 <[email protected]>
- Re: [PATCH 00/10] usb-serial: Switches from spin lock to atomic_t.
- From: Greg KH <[email protected]>
- Re: [PATCH 00/10] usb-serial: Switches from spin lock to atomic_t.
- From: Eduardo Pereira Habkost <[email protected]>
- Re: [linux-usb-devel] Re: [PATCH 00/10] usb-serial: Switches from spin lock to atomic_t.
- From: Oliver Neukum <[email protected]>
- Re: [linux-usb-devel] Re: [PATCH 00/10] usb-serial: Switches from spin lock to atomic_t.
- From: Luiz Fernando Capitulino <[email protected]>
- Re: [linux-usb-devel] Re: [PATCH 00/10] usb-serial: Switches from spin lock to atomic_t.
- From: Arjan van de Ven <[email protected]>
- Re: [linux-usb-devel] Re: [PATCH 00/10] usb-serial: Switches from spin lock to atomic_t.
- From: Luiz Fernando Capitulino <[email protected]>
- Re: [linux-usb-devel] Re: [PATCH 00/10] usb-serial: Switches from spin lock to atomic_t.
- From: Arjan van de Ven <[email protected]>
- [PATCH 00/10] usb-serial: Switches from spin lock to atomic_t.
- Prev by Date: Re: Linux in a binary world... a doomsday scenario
- Next by Date: Re: [PATCH 01/16] mm: delayed page activation
- 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):