Re: how kernel linked lists work

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

 



On Sat, Nov 20, 2010 at 11:05 AM, Robert P. J. Day
<rpjday@xxxxxxxxxxxxxx> wrote:
> On Sat, 20 Nov 2010, Andrew Case wrote:
>
>> another good resource on it, although its from 2005 so some of the
>> commented code may be outdated:
>>
>> http://isis.poly.edu/kulesh/stuff/src/klist/
>
>  yes, it's outdated - it doesn't point out that the list_entry()
> macro is now defined in terms of container_of().

IMO, this is one piece of the kernel where everyone should read the
source.  It is relatively simple, highly commented, and used A LOT.
Reading an overview first obviously does not hurt.

http://lxr.linux.no/linux+v2.6.36/include/linux/list.h

--
John

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux