第一图书网

Linux内核设计与实现

(美) Robert Love 机械工业出版社
出版时间:

2011-1  

出版社:

机械工业出版社  

作者:

(美) Robert Love  

页数:

440  

Tag标签:

无  

前言

As the Linux kernel and the applications that use it become more widely used, we areseeing an increasing number of system software developers who wish to become involvedin the development and maintenance of Linux. Some of these engineers are motivatedpurely by personal interest, some work for Linux companies, some work for hardwaremanufacturers, and some are involved with in-house development projects. But all face a common problem: The learning curve for the kernel is getting longerand steeper. The system is becoming increasingly complex, and it is very large. And as theyears pass, the current members of the kernel development team gain deeper and broaderknowledge of the kernel's internals, which widens the gap between them and newcomers. I believe that this declining accessibility of the Linux source base is already a problemfor the quality of the kernel, and it will become more serious over time.Those who carefor Linux clearly have an interest in increasing the number of developers who can con-tribute to the kernel. One approach to this problem is to keep the code clean: sensible interfaces, consistentlayout, "do one thing, do it well," and so on. This is Linus Torvalds' solution. The approach that I counsel is to liberally apply commentary to the code: words thatthe reader can use to understand what the coder intended to achieve at the time. (Theprocess of identifying divergences between the intent and the implementation is knownas debugging. It is hard to do this if the intent is not known.) But even code commentary does not provide the broad-sweep view of what a majorsubsystem is intended to do, and of how its developers set about doing it. This, the start-ing point of understanding, is what the written word serves best. Robert Love's contribution provides a means by which experienced developers cangain that essential view of what services the kernel subsystems are supposed to provide,and of how they set about providing them. This will be sufficient knowledge for manypeople: the curious, the application developers, those who wish to evaluate the kernel'sdesign, and others. But the book is also a stepping stone to take aspiring kernel developers to the nextstage, which is making alterations to the kernel to achieve some defined objective. Iwould encourage aspiring developers to get their hands dirty: The best way to under-stand a part of the kernel is to make changes to it. Making a change forces the developerto a level of understanding which merely reading the code does not provide.

内容概要

Robert Love所著的《Linux内核设计与实现(第3版)》基于Linux 2.6内核介绍了Linux内核的设计与实现,涵盖了从核心内核系统的应用到内核设计与实现等各方面内容,主要内容包括:进程管理、调度、时间管理和定时器、系统调用接口、内存寻址、内存管理、页缓存、VFS、内核同步、可移植性、调试技术等。此外,本书还讨论了Linux 2.6颇具特色的内容,包括CFS调度程序、抢占式内核、块I/O层以及I/O调度程序。 《Linux内核设计与实现(第3版)》新增内容 ·增加一章专门描述内核数据结构 ·详细描述中断处理程序 ·扩充虚拟内存和内存分配的内容 ·调试Linux内核的技巧 ·内核同步和锁机制的深度描述 ·提交内核补丁以及参与Linux内核社区的建设性建议

作者简介

Robert Love是开源社区的名人,很早就开始使用Linux。目前他是Google公司高级软件工程师,是开发Android移动平台内核的团队成员。他曾受聘于Novell公司,作为Linux Desktop主架构师。他还曾受聘于MontaVista软件公司(后改 名为Ximian公司),作为内核工程师。他的内核项

书籍目录

1 Introduction to the Linux Kernel History of Unix Along Came Linus: Introduction to Linux Overview of Operating Systems and Kernels Linux Versus Classic Unix Kernels Linux Kernel Versions The Linux Kernel Development Community Before We Begin2 Getting Started with the Kernel3 Process Management4 Process Scheduling5 System Calls6 Kernel Data Structures7 Interrupts and Interrupt Handlers8 Bottom Halves and Deferring Work9 An Introduction to Kernel Synchronization10 Kernel Synchronization Methods11 Timers and Time Management12 Memory Management13 The Virtual Filesystem14 The Block I/O Layer15 The Process Address Space16 The Page Cache and Page Writeback17 Devices and Modules18 Debugging19 Portability20 Patches, Hacking, and the CommunityBibliographyIndex

章节摘录

插图:The Linux Kernel Development CommunityWhen you begin developing code for the Linux kernel,you become a part of the globalkernel development community.The main forum for this community is the Linux KernelMailing List(oft-shortened to lkml).Subscription information is available at http://vger.kernel.org.Note that this is a 11igh-traffic list with hundreds of messages a day and thatthe other readers——who include all the core kernel developers.including Linup-are notopen to dealing with nonsense.The list is,however,a priceless aid during developmentbecause it is where you can find testers,receive peer review,and ask questions. Later chapters provide an overview of the kernel development process and a morecomplete description ofparticipating successfully in the kernel development community.In the meantime,however,lurking on(silently reading)the Linux Kernel Mailing List isas good a supplement to this book as you can find.Before We BeginThis book is about the Linux kernel:its goals,the design that fulfills those goals,and theimplementation that realizes that design.The approach is practical,taking a middle roadbetween theory and practice when explaining how everything works.My objective is togive you an insider's appreciation and understanding for the design and implementationof the Linux kernel.This approach,coupled with some personal anecdotes and tipS onkernel hacking,should ensure that this book gets you off the ground running,whetheryou are looking to develop core kernel code,a new device driver ,or simply better under-stand the Linux operating system. While reading this book,you should have access to a Linux system and the kernelsource.Ideally,by this point,you are a Linux user and have poked and prodded at thesource,but require some help making it all come together.Conversely,you might neverhave used Linux but just want to learn the design of the kernel out of curiosity.However,ifyour desire is to write some code ofyour own,there is no substitute for the source.Thesource code isfreely available;use it! Oh,and abore all else,have fun!


编辑推荐

《Linux内核设计与实现(英文版·第3版)》:经典图书新版,学习Linux内核最佳读物。

图书封面

图书标签Tags

广告

下载页面


Linux内核设计与实现 PDF格式下载



仅靠300多页的内容,阐述了linux所包含的核心内容,不能不佩服作者,从入门的角度来把握linux内核这本书相当之好。。。


这本书作为Linux内核的入门级书来说是很值得仔细阅读的一本书。但是这本书带有一种很难闻的味道。不知道是怎么回事。


网上很推荐此书作为Linux内核的入门书籍。于是搞了本英文的直接熟悉起各种英文名词,省的害怕中文译者不够给力。但是对于英文不过关的我,需要啃一阵了。印刷清晰,手感不错!


好好学习内核


阐述了整体Linux Kernel结构,并讲解了每一个子系统功能职责以及它们之间的关系。


学习Linux必看的四库全书之一啊^_^


robert love毕竟是软件人员, 对一些硬件问题书只讲的不是很深刻。。。


刚开始读,感觉内容不错,很详尽。适合初学者阅读,对英语要求不高。


内容感觉还不错


无论是质量还是内容都属上乘


之前看的是翻译过来的,买了这本是纯粹是为了收藏,内容和翻译过来的一样


英文原版,很好,就是读着有点吃力!


虽然是英文的,读起来很费力,不过坚持过一段时间后会感觉好得多了


全英文的,他看一页要查好多单词,我感觉他还是应该加强一下英语水平。


粗略看了一遍,感觉可以。看完该书对内核会有个系统的认识。


既可以学英文,也可以理解操作系统


论坛里有很多人推荐LKD2,这是LKD3,相信不会太差,我大概翻了一下目录,感觉写得还是比较详细的。而且英文也不是很难懂


虽然有些过时,但是这本书的风格是我最喜欢的,不着眼与具体的细节,代码很少,主要讲述大的原理,比较适合刚入门学习,英文原版对于练习英语也比较有好处。


经典原著,买来就是为了收藏


技术的书籍,看原版还是爽


这本书讲的很简洁,不过不代表讲的少,涉及到的面还是很广的。个人觉得起到地图的作用,每部分重点的都提到了,剩下的就是照着地图仔细研读代码了。


这本书一般,不是非常深入。


发货较快,书籍正版,权威书集,得有点基础才能读。


非常实用的书籍,值得一看!


通熟易懂,英文单词的理解不是很难,手机安装个字典就可以了。成了我最近每天下班晚上毕看的书


书非常好,当当的服务一如既往的好


油墨味没有那么重,纸张也不错


还不错. 买来细细研究一下.


数的质量还好,有机会拜读一下


搞这个的必须要看


不知道该说啥了,好书!


帮人家买的,据说不错。


很不爽因为书刚到手就看到掉了10元的信息......


书很好,印刷也很好,就是有点气味,还不错


包装很棒,不过至今还没打开,O(∩_∩)O哈!


英文书籍意思表达的更准确


内容一般吧,算作入门了。
当当发货挺快的,不过还是没有**快哈。


送货还是挺快的,下午下单,第二天下午就到了,书的内容感觉还蛮好的,就是感觉纸质稍微差了一点,第一眼看上去给人一种盗版的感觉 不过还是给个好评吧


内容看了,挺不错。


书对第二版加入好多新内容,确实不错。但是印刷太次了,翻开还能闻到墨水的臭味。是臭味,不是香味!!绝对影响阅读


自己也做过倒是给的翻译任务 与其买本不知所云的中文版 不如买本原汁原味的英文版


原版大师著作


这本书写得很系统,还是看英文原版的东东比较好,非常不错的书,推荐!


书非常好,本来是想先入kernel门的,但有些东西第一次接触,需要慢慢学习,遗憾的是没时间静下心来好好读一读。


就是喜欢原版,自从被一些翻译得很烂的书坑爹后,我就不想再买了。书确实有一股味道。


这本书纯正宗的英语读物,非常不错,商家发货也很快,本以为会很晚才到,赞一个~


封底的薄膜褶皱了。不过书里面的纸张还是不错的。印刷也很清晰。没有异味。就是封面有点磨损。总体还行!


内功修炼之后,还需要了解运行环境。


书页有点薄,总体还不错


书的质量没有传说中那么差,不过真不咋地,纸张有些薄,油墨味道很大


印书质量简单实用


刚看了一下,总觉得书的味道很刺鼻


这本书是本好书,指的是内容,可是我收到的书本是,没有透明胶包着,有些页还折了,书的封面有点损坏了,应该是物流的问题。


内容好,就是字太小,读起来费神。


书油墨味挺大,纸张较薄,不过相对来说价格还行


书油墨味道确实重


内容介绍的还是挺详细的,纸很薄,而且印刷上去的墨很臭,
看时间长了头疼!


书有很大的味道,不知用的是什么油墨,不知是不是甲醛?


印刷有点问题,书很不错哦


呵呵,听说很经典的一本书。我还没有仔细看内容,不过书印刷的真不好啊,纸张像盗版的啊。我怀疑内容有没有盗版的有问题啊?????


看过不少内核的书,这本是最给力的!语言简洁,直接到位,清晰明白,层次分明


书是好书,卓越派送速度也快,(比另一家互动快——我同时下了两个单,卓越的已送到,当然书不相同)不过纸质不是太好,比较透明,这个应该是出版社的问题总的来说,好书值得一读


书内容不错。但是纸张太差。50多块钱买来的书,从一页可以看到反面的字。


LDK 传说中的经典书籍,不看也得拿回家放着~心里舒坦 呵呵!


给三颗星不是针对书的内容(好书!!),而是针对书的印刷质量(很差!!)。说说我拿到的这本,印刷质量非常差,纸张有的地方还连在一起,页码数字居然只印出来一半,纸张是一面光滑一面粗糙的劣质纸张,印刷不清晰,反面的文字能在正面比较明显的映出来,看着非常不舒服,跟盗版书比起来就纸张厚点。本来是本好书,印刷质量实在不给力,不推荐购买!!!


书是很好的,若非信不过翻译的版本,我定不会轻易买英文原著。获取知识是第一位的,而不是简单跟风读英文。书是越读越薄,看这本书时,还需要参阅其他资料(网络、书籍)互相补充学习,学扎实了才是最重要的。当初我在学习《Linux设备驱动程序》时,在阅读头三章后实在无法深入下去,我回过头想想,其实是知识体系的问题,设备驱动这本书本质上还是在讲Linux内核,只是重点讲解设备驱动部分,涉及到内核其他部分时,有时根本无法理解。所以我还是暂且放一放,先读这本书,试图对Linux内核有一定的理解。总之这本书值得反复去研读!


内容简单很不失内涵, 很不错的书籍,建议不要买中文版的.


这本书,挺不错的,运输过程中没有什么破损。纸质还好,不过是有些焦油,或者类似的味道,不影响阅读书的内容很好,参考的linux kernel的2.6的版本,相对于现在的linux kernel老了点,我也比对着现在较新的代码看了,有区别,不过区别不算太大这本书我还在读,目前前几章我看了一些了,了解一些概念,结合着代码看效果会好点,推荐


整体感觉都挺不错的。


首先说印刷。买之前大家的评论我也看过,大多是批印刷质量不行的。但就我入手的书而言,没什么问题,字迹清晰,纸质也可以,平心而论绝非盗版书。如果真有要求甚高的读者,也可以买亚马逊的进口原版书。因为我买过一本Android系统移植方面的进口书,200多大洋的平装,也就是纸更厚更白而已。... 阅读更多


帮同事代买的。书的质量很好


我觉得书的印刷质量很好


非常好的linux本质论,个人很喜欢,这次打折就收入了。慢慢看,会操作,但是原理更加重要。


英文版读读还可一,就是亚马逊发货有点慢!


很不错,由细入微,强烈推荐。e文版的看起来还是原汁原味些。


经典书,不多说,很好!!!


本来买的中文但是老师强烈要求我们看英文于是又买了英语原版的了


书是好书,就是看了之后觉得还以前操作系统的书差不多,只是多了点伪代码。


内核开发必备


不错哦~很实惠的价格啊!!


真是太破了。


英文原版,内容充实


Linux内核入门好书


学习Linux必备啊!


相关图书