In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
What books should I read to learn the linux kernel? In view of this problem, this article introduces the corresponding analysis and answers in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible way.
With regard to kernel learning, I suggest that you should not come up to read the kernel, but first understand the composition and characteristics of the kernel, and then read the kernel source code after thinking and finding questions. That is, first understand the general picture and read the local details.
And the kernel is divided into many parts, do not just read in order, you should read a few books horizontally for a certain part, such as memory management or process management, which is very comprehensive.
Linux Kernel Si Ku Quan Shu
1. "Design and implementation of Linux kernel"
This book focuses on principle. The best book for getting started. The author is a person who added preemption to the 2.6 kernel, is very proficient in scheduling, and scheduling is the core of the whole system, so this book is very authoritative.
2. "deeply understand the Linux kernel"
This book has more details than the last one. It is the first choice for Linux kernel hackers when recommending books. Writing is relatively easy to understand, suitable for those who have just come into contact with the LINUX kernel.
This book has a lot of charts, vividly gives the definition of key data structures, compared with the "Linux kernel source code scenario analysis", the content of this book is compact, will not explain a problem easily hundreds of pages, has the function of outline, but the depth is inferior to "Linux kernel source code scenario analysis".
3. LINUX device driver (3rd Edition)
This book emphasizes hands-on practice! But it is about "device driver", not the core thing, and some things cannot be practiced without hardware, so it may be more suitable for programmers who develop drivers. It feels good about synchronization and mutual exclusion and memory allocation.
4. "Linux kernel source code scenario analysis"
The book is very good and classic. It was written by Mao Dezao, a professor at Zhejiang University. Unfortunately, it has not been updated since 2001. Divided into upper and lower volumes.
Many of them are based on the 2.4 kernel explanation. If you study, it is also recommended to learn 2.6. 2.6 has a lot of significant improvement compared with 2.4, and you should learn.
The content of the book is broad and profound, it is not very easy to understand, and the details are described clearly. But the overall sense of the kernel is not strong enough. In addition, it lacks the analysis of the network part. I don't think it's very suitable for beginners.
The first volume covers memory management, interrupts, exceptions and system calls, process control, file systems and traditional Unix IPC;. The second volume explains socket, device drivers, SMP and booting.
This book is based on the Intel IA32 system, because of the thickness, a lot of knowledge on the system has been explained, so if you want to in-depth understanding of the working mechanism of the kernel but not very familiar with the architecture of Intel CPU, this book is the most appropriate.
This is the answer to the question about what book you should read when learning the linux kernel. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel to learn more about it.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.