Linux內(nèi)核設(shè)計(jì)與實(shí)現(xiàn)

出版時(shí)間:2011-1  出版社:機(jī)械工業(yè)出版社  作者:(美) Robert Love  頁(yè)數(shù):440  
Tag標(biāo)簽:無(wú)  

前言

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.

內(nèi)容概要

Robert Love所著的《Linux內(nèi)核設(shè)計(jì)與實(shí)現(xiàn)(第3版)》基于Linux 2.6內(nèi)核介紹了Linux內(nèi)核的設(shè)計(jì)與實(shí)現(xiàn),涵蓋了從核心內(nèi)核系統(tǒng)的應(yīng)用到內(nèi)核設(shè)計(jì)與實(shí)現(xiàn)等各方面內(nèi)容,主要內(nèi)容包括:進(jìn)程管理、調(diào)度、時(shí)間管理和定時(shí)器、系統(tǒng)調(diào)用接口、內(nèi)存尋址、內(nèi)存管理、頁(yè)緩存、VFS、內(nèi)核同步、可移植性、調(diào)試技術(shù)等。此外,本書(shū)還討論了Linux 2.6頗具特色的內(nèi)容,包括CFS調(diào)度程序、搶占式內(nèi)核、塊I/O層以及I/O調(diào)度程序。    《Linux內(nèi)核設(shè)計(jì)與實(shí)現(xiàn)(第3版)》新增內(nèi)容    ·增加一章專門(mén)描述內(nèi)核數(shù)據(jù)結(jié)構(gòu)    ·詳細(xì)描述中斷處理程序    ·擴(kuò)充虛擬內(nèi)存和內(nèi)存分配的內(nèi)容    ·調(diào)試Linux內(nèi)核的技巧    ·內(nèi)核同步和鎖機(jī)制的深度描述    ·提交內(nèi)核補(bǔ)丁以及參與Linux內(nèi)核社區(qū)的建設(shè)性建議

作者簡(jiǎn)介

Robert Love是開(kāi)源社區(qū)的名人,很早就開(kāi)始使用Linux。目前他是Google公司高級(jí)軟件工程師,是開(kāi)發(fā)Android移動(dòng)平臺(tái)內(nèi)核的團(tuán)隊(duì)成員。他曾受聘于Novell公司,作為L(zhǎng)inux Desktop主架構(gòu)師。他還曾受聘于MontaVista軟件公司(后改 名為Ximian公司),作為內(nèi)核工程師。他的內(nèi)核項(xiàng)

書(shū)籍目錄

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

章節(jié)摘錄

插圖: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內(nèi)核設(shè)計(jì)與實(shí)現(xiàn)(英文版·第3版)》:經(jīng)典圖書(shū)新版,學(xué)習(xí)Linux內(nèi)核最佳讀物。

圖書(shū)封面

圖書(shū)標(biāo)簽Tags

無(wú)

評(píng)論、評(píng)分、閱讀與下載


    Linux內(nèi)核設(shè)計(jì)與實(shí)現(xiàn) PDF格式下載


用戶評(píng)論 (總計(jì)84條)

 
 

  •   僅靠300多頁(yè)的內(nèi)容,闡述了linux所包含的核心內(nèi)容,不能不佩服作者,從入門(mén)的角度來(lái)把握l(shuí)inux內(nèi)核這本書(shū)相當(dāng)之好。。。
  •   這本書(shū)作為L(zhǎng)inux內(nèi)核的入門(mén)級(jí)書(shū)來(lái)說(shuō)是很值得仔細(xì)閱讀的一本書(shū)。但是這本書(shū)帶有一種很難聞的味道。不知道是怎么回事。
  •   網(wǎng)上很推薦此書(shū)作為L(zhǎng)inux內(nèi)核的入門(mén)書(shū)籍。于是搞了本英文的直接熟悉起各種英文名詞,省的害怕中文譯者不夠給力。但是對(duì)于英文不過(guò)關(guān)的我,需要啃一陣了。印刷清晰,手感不錯(cuò)!
  •   好好學(xué)習(xí)內(nèi)核
  •   闡述了整體Linux Kernel結(jié)構(gòu),并講解了每一個(gè)子系統(tǒng)功能職責(zé)以及它們之間的關(guān)系。
  •   學(xué)習(xí)Linux必看的四庫(kù)全書(shū)之一啊^_^
  •   robert love畢竟是軟件人員, 對(duì)一些硬件問(wèn)題書(shū)只講的不是很深刻。。。
  •   剛開(kāi)始讀,感覺(jué)內(nèi)容不錯(cuò),很詳盡。適合初學(xué)者閱讀,對(duì)英語(yǔ)要求不高。
  •   內(nèi)容感覺(jué)還不錯(cuò)
  •   無(wú)論是質(zhì)量還是內(nèi)容都屬上乘
  •   之前看的是翻譯過(guò)來(lái)的,買(mǎi)了這本是純粹是為了收藏,內(nèi)容和翻譯過(guò)來(lái)的一樣
  •   英文原版,很好,就是讀著有點(diǎn)吃力!
  •   雖然是英文的,讀起來(lái)很費(fèi)力,不過(guò)堅(jiān)持過(guò)一段時(shí)間后會(huì)感覺(jué)好得多了
  •   全英文的,他看一頁(yè)要查好多單詞,我感覺(jué)他還是應(yīng)該加強(qiáng)一下英語(yǔ)水平。
  •   粗略看了一遍,感覺(jué)可以。看完該書(shū)對(duì)內(nèi)核會(huì)有個(gè)系統(tǒng)的認(rèn)識(shí)。
  •   既可以學(xué)英文,也可以理解操作系統(tǒng)
  •   論壇里有很多人推薦LKD2,這是LKD3,相信不會(huì)太差,我大概翻了一下目錄,感覺(jué)寫(xiě)得還是比較詳細(xì)的。而且英文也不是很難懂
  •   雖然有些過(guò)時(shí),但是這本書(shū)的風(fēng)格是我最喜歡的,不著眼與具體的細(xì)節(jié),代碼很少,主要講述大的原理,比較適合剛?cè)腴T(mén)學(xué)習(xí),英文原版對(duì)于練習(xí)英語(yǔ)也比較有好處。
  •   經(jīng)典原著,買(mǎi)來(lái)就是為了收藏
  •   技術(shù)的書(shū)籍,看原版還是爽
  •   這本書(shū)講的很簡(jiǎn)潔,不過(guò)不代表講的少,涉及到的面還是很廣的。個(gè)人覺(jué)得起到地圖的作用,每部分重點(diǎn)的都提到了,剩下的就是照著地圖仔細(xì)研讀代碼了。
  •   這本書(shū)一般,不是非常深入。
  •   發(fā)貨較快,書(shū)籍正版,權(quán)威書(shū)集,得有點(diǎn)基礎(chǔ)才能讀。
  •   非常實(shí)用的書(shū)籍,值得一看!
  •   通熟易懂,英文單詞的理解不是很難,手機(jī)安裝個(gè)字典就可以了。成了我最近每天下班晚上畢看的書(shū)
  •   書(shū)非常好,當(dāng)當(dāng)?shù)姆?wù)一如既往的好
  •   油墨味沒(méi)有那么重,紙張也不錯(cuò)
  •   還不錯(cuò). 買(mǎi)來(lái)細(xì)細(xì)研究一下.
  •   數(shù)的質(zhì)量還好,有機(jī)會(huì)拜讀一下
  •   搞這個(gè)的必須要看
  •   不知道該說(shuō)啥了,好書(shū)!
  •   幫人家買(mǎi)的,據(jù)說(shuō)不錯(cuò)。
  •   很不爽因?yàn)闀?shū)剛到手就看到掉了10元的信息......
  •   書(shū)很好,印刷也很好,就是有點(diǎn)氣味,還不錯(cuò)
  •   包裝很棒,不過(guò)至今還沒(méi)打開(kāi),O(∩_∩)O哈!
  •   英文書(shū)籍意思表達(dá)的更準(zhǔn)確
  •   內(nèi)容一般吧,算作入門(mén)了。
    當(dāng)當(dāng)發(fā)貨挺快的,不過(guò)還是沒(méi)有**快哈。
  •   送貨還是挺快的,下午下單,第二天下午就到了,書(shū)的內(nèi)容感覺(jué)還蠻好的,就是感覺(jué)紙質(zhì)稍微差了一點(diǎn),第一眼看上去給人一種盜版的感覺(jué) 不過(guò)還是給個(gè)好評(píng)吧
  •   內(nèi)容看了,挺不錯(cuò)。
  •   書(shū)對(duì)第二版加入好多新內(nèi)容,確實(shí)不錯(cuò)。但是印刷太次了,翻開(kāi)還能聞到墨水的臭味。是臭味,不是香味!!絕對(duì)影響閱讀
  •   自己也做過(guò)倒是給的翻譯任務(wù) 與其買(mǎi)本不知所云的中文版 不如買(mǎi)本原汁原味的英文版
  •   原版大師著作
  •   這本書(shū)寫(xiě)得很系統(tǒng),還是看英文原版的東東比較好,非常不錯(cuò)的書(shū),推薦!
  •   書(shū)非常好,本來(lái)是想先入kernel門(mén)的,但有些東西第一次接觸,需要慢慢學(xué)習(xí),遺憾的是沒(méi)時(shí)間靜下心來(lái)好好讀一讀。
  •   就是喜歡原版,自從被一些翻譯得很爛的書(shū)坑爹后,我就不想再買(mǎi)了。書(shū)確實(shí)有一股味道。
  •   這本書(shū)純正宗的英語(yǔ)讀物,非常不錯(cuò),商家發(fā)貨也很快,本以為會(huì)很晚才到,贊一個(gè)~
  •   封底的薄膜褶皺了。不過(guò)書(shū)里面的紙張還是不錯(cuò)的。印刷也很清晰。沒(méi)有異味。就是封面有點(diǎn)磨損??傮w還行!
  •   內(nèi)功修煉之后,還需要了解運(yùn)行環(huán)境。
  •   書(shū)頁(yè)有點(diǎn)薄,總體還不錯(cuò)
  •   書(shū)的質(zhì)量沒(méi)有傳說(shuō)中那么差,不過(guò)真不咋地,紙張有些薄,油墨味道很大
  •   印書(shū)質(zhì)量簡(jiǎn)單實(shí)用
  •   剛看了一下,總覺(jué)得書(shū)的味道很刺鼻
  •   這本書(shū)是本好書(shū),指的是內(nèi)容,可是我收到的書(shū)本是,沒(méi)有透明膠包著,有些頁(yè)還折了,書(shū)的封面有點(diǎn)損壞了,應(yīng)該是物流的問(wèn)題。
  •   內(nèi)容好,就是字太小,讀起來(lái)費(fèi)神。
  •   書(shū)油墨味挺大,紙張較薄,不過(guò)相對(duì)來(lái)說(shuō)價(jià)格還行
  •   書(shū)油墨味道確實(shí)重
  •   內(nèi)容介紹的還是挺詳細(xì)的,紙很薄,而且印刷上去的墨很臭,
    看時(shí)間長(zhǎng)了頭疼!
  •   書(shū)有很大的味道,不知用的是什么油墨,不知是不是甲醛?
  •   印刷有點(diǎn)問(wèn)題,書(shū)很不錯(cuò)哦
  •   呵呵,聽(tīng)說(shuō)很經(jīng)典的一本書(shū)。我還沒(méi)有仔細(xì)看內(nèi)容,不過(guò)書(shū)印刷的真不好啊,紙張像盜版的啊。我懷疑內(nèi)容有沒(méi)有盜版的有問(wèn)題???????
  •   看過(guò)不少內(nèi)核的書(shū),這本是最給力的!語(yǔ)言簡(jiǎn)潔,直接到位,清晰明白,層次分明
  •   書(shū)是好書(shū),卓越派送速度也快,(比另一家互動(dòng)快——我同時(shí)下了兩個(gè)單,卓越的已送到,當(dāng)然書(shū)不相同)不過(guò)紙質(zhì)不是太好,比較透明,這個(gè)應(yīng)該是出版社的問(wèn)題總的來(lái)說(shuō),好書(shū)值得一讀
  •   書(shū)內(nèi)容不錯(cuò)。但是紙張?zhí)睢?0多塊錢(qián)買(mǎi)來(lái)的書(shū),從一頁(yè)可以看到反面的字。
  •   LDK 傳說(shuō)中的經(jīng)典書(shū)籍,不看也得拿回家放著~心里舒坦 呵呵!
  •   給三顆星不是針對(duì)書(shū)的內(nèi)容(好書(shū)?。。?,而是針對(duì)書(shū)的印刷質(zhì)量(很差?。。?。說(shuō)說(shuō)我拿到的這本,印刷質(zhì)量非常差,紙張有的地方還連在一起,頁(yè)碼數(shù)字居然只印出來(lái)一半,紙張是一面光滑一面粗糙的劣質(zhì)紙張,印刷不清晰,反面的文字能在正面比較明顯的映出來(lái),看著非常不舒服,跟盜版書(shū)比起來(lái)就紙張厚點(diǎn)。本來(lái)是本好書(shū),印刷質(zhì)量實(shí)在不給力,不推薦購(gòu)買(mǎi)?。?!
  •   書(shū)是很好的,若非信不過(guò)翻譯的版本,我定不會(huì)輕易買(mǎi)英文原著。獲取知識(shí)是第一位的,而不是簡(jiǎn)單跟風(fēng)讀英文。書(shū)是越讀越薄,看這本書(shū)時(shí),還需要參閱其他資料(網(wǎng)絡(luò)、書(shū)籍)互相補(bǔ)充學(xué)習(xí),學(xué)扎實(shí)了才是最重要的。當(dāng)初我在學(xué)習(xí)《Linux設(shè)備驅(qū)動(dòng)程序》時(shí),在閱讀頭三章后實(shí)在無(wú)法深入下去,我回過(guò)頭想想,其實(shí)是知識(shí)體系的問(wèn)題,設(shè)備驅(qū)動(dòng)這本書(shū)本質(zhì)上還是在講Linux內(nèi)核,只是重點(diǎn)講解設(shè)備驅(qū)動(dòng)部分,涉及到內(nèi)核其他部分時(shí),有時(shí)根本無(wú)法理解。所以我還是暫且放一放,先讀這本書(shū),試圖對(duì)Linux內(nèi)核有一定的理解。總之這本書(shū)值得反復(fù)去研讀!
  •   內(nèi)容簡(jiǎn)單很不失內(nèi)涵, 很不錯(cuò)的書(shū)籍,建議不要買(mǎi)中文版的.
  •   這本書(shū),挺不錯(cuò)的,運(yùn)輸過(guò)程中沒(méi)有什么破損。紙質(zhì)還好,不過(guò)是有些焦油,或者類(lèi)似的味道,不影響閱讀書(shū)的內(nèi)容很好,參考的linux kernel的2.6的版本,相對(duì)于現(xiàn)在的linux kernel老了點(diǎn),我也比對(duì)著現(xiàn)在較新的代碼看了,有區(qū)別,不過(guò)區(qū)別不算太大這本書(shū)我還在讀,目前前幾章我看了一些了,了解一些概念,結(jié)合著代碼看效果會(huì)好點(diǎn),推薦
  •   整體感覺(jué)都挺不錯(cuò)的。
  •   首先說(shuō)印刷。買(mǎi)之前大家的評(píng)論我也看過(guò),大多是批印刷質(zhì)量不行的。但就我入手的書(shū)而言,沒(méi)什么問(wèn)題,字跡清晰,紙質(zhì)也可以,平心而論絕非盜版書(shū)。如果真有要求甚高的讀者,也可以買(mǎi)亞馬遜的進(jìn)口原版書(shū)。因?yàn)槲屹I(mǎi)過(guò)一本Android系統(tǒng)移植方面的進(jìn)口書(shū),200多大洋的平裝,也就是紙更厚更白而已。... 閱讀更多
  •   幫同事代買(mǎi)的。書(shū)的質(zhì)量很好
  •   我覺(jué)得書(shū)的印刷質(zhì)量很好
  •   非常好的linux本質(zhì)論,個(gè)人很喜歡,這次打折就收入了。慢慢看,會(huì)操作,但是原理更加重要。
  •   英文版讀讀還可一,就是亞馬遜發(fā)貨有點(diǎn)慢!
  •   很不錯(cuò),由細(xì)入微,強(qiáng)烈推薦。e文版的看起來(lái)還是原汁原味些。
  •   經(jīng)典書(shū),不多說(shuō),很好?。?!
  •   本來(lái)買(mǎi)的中文但是老師強(qiáng)烈要求我們看英文于是又買(mǎi)了英語(yǔ)原版的了
  •   書(shū)是好書(shū),就是看了之后覺(jué)得還以前操作系統(tǒng)的書(shū)差不多,只是多了點(diǎn)偽代碼。
  •   內(nèi)核開(kāi)發(fā)必備
  •   不錯(cuò)哦~很實(shí)惠的價(jià)格啊?。?/li>
  •   真是太破了。
  •   英文原版,內(nèi)容充實(shí)
  •   Linux內(nèi)核入門(mén)好書(shū)
  •   學(xué)習(xí)Linux必備??!
 

250萬(wàn)本中文圖書(shū)簡(jiǎn)介、評(píng)論、評(píng)分,PDF格式免費(fèi)下載。 第一圖書(shū)網(wǎng) 手機(jī)版

京ICP備13047387號(hào)-7