The Linux kernel includes code from many different programmers. There is some documentation regarding the kernel structures and the way it is implemented. Much of the knowledge can be gained by reading down through the source code as well.