Re: Singly Linked List Support in Kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Dec 06, 2010 at 11:50:59AM +0530, Meena Jain wrote:
I am working on UDC development. I have a requirement to create a
single linked list.

On Mon, 06 Dec 2010 16:53:28 +0100, Greg KH <greg@xxxxxxxxx> wrote:
Why?

I don't remember specifics now, but I have once considered using single
linked list to implemented a first-in-last-out queue where adding and
removing an element would use cmpxchg() to make it atomic without the
need for any locking.

Just my two cents, generating noise on the mailing list. ;)

--
Best regards,                                        _     _
| Humble Liege of Serenely Enlightened Majesty of  o' \,=./ `o
| Computer Science,  MichaÅ "mina86" Nazarewicz       (o o)
+----[mina86*mina86.com]---[mina86*jabber.org]----ooO--(_)--Ooo--
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux