ankitchaturvedi.in

My personal website.

Linux Kernel Linked List Explained

Linux kernel is mostly written in the C language. Unlike many other languages C does not have a good collection of data structures built into it or supported by a collection of standard libraries. Therefore, you’re probably excited to hear that you can borrow a good implementation of a circularly-linked list in C from the Linux kernel source tree.