虽然它现在一点都不“新”了(1999 年出版),但如果你喜欢看源码剖析,不妨去找找 ISBN 978-1576104699——《Linux Core Kernel Commentary: Guide to Insider's Knowledge on the Core Kernel of the Linux Code》。它的写法路数和 Lions 极其相似。它还有第二卷,专门讲网络协议栈。
It's not at all "new" anymore (published 1999), but if you enjoy source-code commentary then check out ISBN 978-1576104699 - "Linux Core Kernel Commentary: Guide to Insider's Knowledge on the Core Kernel of the Linux Code" Very similar approach to Lions. There's a second volume that covers the networking stack as well.
……- UNIX 操作系统设计与实现(Maurice J. Bach)- 现代操作系统(Andrew S. Tanenbaum)- 操作系统:设计与实现(Andrew S. Tanenbaum)- Linux Core Kernel Commentary(Scott Andrew Maxwell)
…- Design and Implementation of the UNIX Operating System (Maurice J. Bach) - Modern Operating Systems (Andrew S. Tanenbaum) - Operating Systems Design and Implementation (Andrew S. Tanenbaum) - Linux Core Kernel Commentary (Scott Andrew Maxwell)
……取决于所使用的编译器(及其他工具)以及项目的编码规范。我个人从 John Lions 的书里研究 Unix 内核源码获益匪浅。更现代一点的同类书是《Linux Core Kernel Commentary》。等你多读一些不同的开源项目,就会明白写 C 语言绝没有唯一标准答案。
…by the compiler (and other tools) being used and the project's conventions. Personally I learnt a great deal from studying Unix kernel sources from the John Lions books. A more modern equivalent is "Linux Core Kernel Commentary". Once you read up on different open source projects, you will see that there is no one way of using C.
关于 Linux 内核,有一本极棒的书叫《Linux Core Kernel Commentary》(它脱胎自剖析 SVR4 的 Lion's 评注书),里面印出了内核源码(一个老版本),然后逐一讲解所有的细节(代码和数据结构)。真让人大开眼界……
For the Linux kernel, there is an excellent book called "Linux Core Kernel Commentary" (which is based off the SVR4 Lion's Commentary book), which has the source of the kernel (an old version) printed out and then a commentary on all the bits (code and data structures). It was an eye opener…
I've commented below... there's an old book called "Linux Core Kernel Commentary" which is based on the Lion's book. It's a great read. There's a Xinu book which is similar, but without the accompanying source code.
I picked up this book in a bookstore years ago, still have it on my shelf. The Linux Core Kernel Commentary [1] It takes only the parts of the kernel you need to understand, leaving out the drivers, device classes, and much of te ancillary pieces. For the parts it chooses, it goes through them line by line…
虽然它现在一点都不“新”了(1999 年出版),但如果你喜欢看源码剖析,不妨去找找 ISBN 978-1576104699——《Linux Core Kernel Commentary: Guide to Insider's Knowledge on the Core Kernel of the Linux Code》。它的写法路数和 Lions 极其相似。它还有第二卷,专门讲网络协议栈。
It's not at all "new" anymore (published 1999), but if you enjoy source-code commentary then check out ISBN 978-1576104699 - "Linux Core Kernel Commentary: Guide to Insider's Knowledge on the Core Kernel of the Linux Code" Very similar approach to Lions. There's a second volume that covers the networking stack as well.
……- UNIX 操作系统设计与实现(Maurice J. Bach)- 现代操作系统(Andrew S. Tanenbaum)- 操作系统:设计与实现(Andrew S. Tanenbaum)- Linux Core Kernel Commentary(Scott Andrew Maxwell)
…- Design and Implementation of the UNIX Operating System (Maurice J. Bach) - Modern Operating Systems (Andrew S. Tanenbaum) - Operating Systems Design and Implementation (Andrew S. Tanenbaum) - Linux Core Kernel Commentary (Scott Andrew Maxwell)
……取决于所使用的编译器(及其他工具)以及项目的编码规范。我个人从 John Lions 的书里研究 Unix 内核源码获益匪浅。更现代一点的同类书是《Linux Core Kernel Commentary》。等你多读一些不同的开源项目,就会明白写 C 语言绝没有唯一标准答案。
…by the compiler (and other tools) being used and the project's conventions. Personally I learnt a great deal from studying Unix kernel sources from the John Lions books. A more modern equivalent is "Linux Core Kernel Commentary". Once you read up on different open source projects, you will see that there is no one way of using C.
关于 Linux 内核,有一本极棒的书叫《Linux Core Kernel Commentary》(它脱胎自剖析 SVR4 的 Lion's 评注书),里面印出了内核源码(一个老版本),然后逐一讲解所有的细节(代码和数据结构)。真让人大开眼界……
For the Linux kernel, there is an excellent book called "Linux Core Kernel Commentary" (which is based off the SVR4 Lion's Commentary book), which has the source of the kernel (an old version) printed out and then a commentary on all the bits (code and data structures). It was an eye opener…
我在下面留言了……有一本老书叫《Linux Core Kernel Commentary》,是仿照 Lion's 的书写的。读起来非常过瘾。还有一本 Xinu 的书也类似,不过没有附带完整的源码。
I've commented below... there's an old book called "Linux Core Kernel Commentary" which is based on the Lion's book. It's a great read. There's a Xinu book which is similar, but without the accompanying source code.
我多年前在书店顺手买下了这本书,现在还放在书架上。就是《Linux Core Kernel Commentary》[1]。它只挑出了理解内核所必需的部分,省去了驱动、设备类以及大部分周边代码。对于挑出来的部分,作者是一行一行带着你读的……
I picked up this book in a bookstore years ago, still have it on my shelf. The Linux Core Kernel Commentary [1] It takes only the parts of the kernel you need to understand, leaving out the drivers, device classes, and much of te ancillary pieces. For the parts it chooses, it goes through them line by line…