Best Resources to Learn about Linux Kernel Internals

Wednesday, November 30, 2011


The Source

The best resource is the kernel source.

Books

Obviously, it’s not that easy to dive into thousands of lines of code. I suggest starting with reading the books explaining Linux kernel in general.
  • Understanding Linux Kernel. This is one of the first books to provide in-depth explanations. Vastly improved over multiple editions, the current one is a very good read.
  • Robert Loves’ book. Love is a core developer, who implemented pre-emptive kernel and other features. I haven’t personally read this, but I have seen good reviews of this.
  • If you are specifically looking for networking aspects, this is an excellent book on understanding linux networking internals.
  • For device drivers, similarly, this book is very useful.

Other resources

  • LWN’s kernel page has lots of great articles explaining kernel internals
  • TLDP’s TLK. Somewhat outdated, but useful.
  • Linux Journal’s KernelKorner has some excellent articles, most of which are freely available online.
  • The Linux Kernel Hackers’ Guide, compiled by Michael K. Johnson of Red Hat fame. Includes among other
    documents selected Q/A’s from the linux-kernel mailing list.

HOWTOs

Lists of links

0 comments:

Post a Comment