Home Linux Community Forums Programming and Development Kernel Development frustrated in understanding the linux kernel

frustrated in understanding the linux kernel

Link to this post 26 Jun 10

With over 10 Million Lines of Code and additions plus changes everyday, it would be a little tough for any one person to really grasp it. Even Microsoft contributed 20,000 lines of code to the kernel after they got caught hijacking the Hyper-V network drivers. There is a map here:

Link to this post 20 May 11

"Robert Love's "Linux Kernel Development"

yes. its a good one

Link to this post 31 Dec 11

Some part understanding kernel or a code walk of kernel is also possible with any good professional IDE application.

So if you think using a open-source IDE, you can try using Bluefish, I use it to develop my open-source kernel project. Before that, I used to manage via Vi or via Gedit applications, but now the best IDE, is paying off really well both interms of understand (code walk), and even kernel software development.

Link to this post 10 Jan 12

And regarding suggested books, certainly you can read kernel specific books, but beyond that kindly read the intro sections of Linux Device Drivers (LDD) Book. It is too useful for you to understand simple kernel APIs, code, modules specific to each subsystem i.e networking, filesystem, memory, etc.

Link to this post 15 Jan 12

I noticed that some of the posts in this thread were blanked. I don't know if the OP blanked them, or if the forum software caused the problem. If it was our forum's software fault, I apologize if any useful information was lost. There is still a great bit of useful info in the thread, so, I'll just leave the remaining posts here, they contain great links to good information.

Link to this post 15 Jan 12

I made this video on using Bluefish IDE to understand my TrafficSqueezer code. Actually it is a part of Linux Kernel.
It is for my students to understand Linux Kernel code + my code/modules in it.
Hence you can use such IDE or Netbeans IDE, or any such IDE to go through the Kernel sources.

Sometimes please note each folder you see in Kernel can be a
module or sub-modules,
subsystems - such as filesystem, networking, etc,
device drivers, and so on.

Hence use a good IDE, and preferrably O'Relly series books also mainly LDD book.

I hope my video helps you too.

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Linux Training / Board