Skip to contentSkip to conversation

Linked list demo

DISCUSSION selvakumar nagendran 3 participants 3 messages Jan 5, 2005

lore
Share & tools
lore
#0 lore raw

Hello,
I came to know from the book 'Linux kernel
development' by Robert M Love that the kernel provides it's own linked list implementation. He has also given the relevant interfaces. But with that I am not able to understand the concepts. Can anyone send me a worked out example of the linked list possibly a simpler one?

Thanks,
selva

__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com

#1 lore raw
Quoted 8 lines · selvakumar nagendran

Hello,
I came to know from the book 'Linux kernel
development' by Robert M Love that the kernel provides it's own linked list implementation. He has also given the relevant interfaces. But with that I am not able to understand the concepts. Can anyone send me a worked out example of the linked list possibly a simpler one?

Personally if you can't understand the concepts of the linked list implementation from the book then you shouldn't really be programming at the kernel level... As far as examples of code goes, grep the kernel source. There's sure to be lots of examples there :-)

Phillip

Quoted 15 lines

Thanks,
selva

__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com

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

#2 lore raw
In reply to selvakumar nagendran
Quoted 8 lines · selvakumar nagendran

Hello,
I came to know from the book 'Linux kernel
development' by Robert M Love that the kernel provides it's own linked list implementation. He has also given the relevant interfaces. But with that I am not able to understand the concepts. Can anyone send me a worked out example of the linked list possibly a simpler one?

Take sample-code 6-15-kernellist.c from:

http://ezs.kr.hsnr.de/TreiberBuch/Download/index.html

Juergen.