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

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

前言

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)存管理、頁緩存、VFS、內(nèi)核同步、可移植性、調(diào)試技術(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)容    ·增加一章專門描述內(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是開源社區(qū)的名人,很早就開始使用Linux。目前他是Google公司高級(jí)軟件工程師,是開發(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)

書籍目錄

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)典圖書新版,學(xué)習(xí)Linux內(nèi)核最佳讀物。

圖書封面

圖書標(biāo)簽Tags

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


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


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

 
 

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

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

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