AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Understanding the linux kernel9/18/2023 ![]() You'll learn what conditions bring out Linux's best performance, and you'll see how it meets the challenge of providing good system response during process scheduling, file access, and memory management in a wide variety of environments. The book focuses on the following topics: Memory management, including file buffering, process swapping, and Direct memory Access (DMA) The Virtual Filesystem layer and the Second and Third Extended Filesystems Process creation and scheduling Signals, interrupts, and the essential interfaces to device drivers Timing Synchronization within the kernel Interprocess Communication (IPC) Program execution Understanding the Linux Kernel will acquaint you with all the inner workings of Linux, but it's more than just an academic exercise. This edition of the book covers Version 2.6, which has seen significant changes to nearly every kernel subsystem, particularly in the areas of memory management and block devices. But the book covers more than just the functioning of the code it explains the theoretical underpinnings of why Linux does things the way it does. Relevant segments of code are dissected line by line. Important Intel-specific features are discussed. Probing beyond superficial features, the authors offer valuable insights to people who want to know how things really work inside their machine. The third edition of Understanding the Linux Kernel takes you on a guided tour of the most significant data structures, algorithms, and programming tricks used in the kernel. It manages limited memory so well that hundreds of processes can share the system efficiently, and expertly organizes data transfers so that the CPU isn't kept waiting any longer than necessary for the relatively slow disks. The kernel handles all interactions between the CPU and the external world, and determines which programs will share processor time, in what order. Then you can skip a lot of largely extraneous stuff and have a solid understanding of how the hardware works.In order to thoroughly understand what makes Linux tick and why it works so well on a wide variety of systems, you need to delve deep into the heart of the kernel. I think this kind of project is well suited to a guide on how to build a computer from the ground up, starting with logic gates, writing a real time OS and developing a scripting language that will run and compile on it. Gets more tricky dealing with interconnecting microprocessors because a good chunk is vendor specific. The physics is fairly simple, at least from a CRT or LED display perspective. It starts with relays and builds them up into gates and usable arithmetic blocks. Linux.Ĭode, by Petzold, deals with logic and computers from the ground up. look at Understanding the Linux kernel for a good understanding of how an OS is put together, with specific examples i.e. It deals with what happens when you run code, how the architecture of the computer works (by and large) including at the logic level: Some resources on making tiny Hello World programs down to the kernel level that may be useful:Ī wee bit heavy, but it's comprehensive.
0 Comments
Read More
Leave a Reply. |