Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Overview of linux kernel development

3,351 views

Published on

Customization of Linux Kernels and Modules

Published in: Education
  • Have u ever tried external professional writing services like ⇒ www.WritePaper.info ⇐ ? I did and I am more than satisfied.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Overview of linux kernel development

  1. 1. Overview of Linux Kernel Development<br />
  2. 2. Unix-Linux System Architecture :<br />
  3. 3. Linux v/s Unix<br />Linux kernel is monolithic.<br />Linux supports the dynamic loading of kernel modules.<br />Linux has symmetrical multiprocessor (SMP) support. Traditional Unix did not.<br />The Linux kernel is preemptive. Traditional Unix are not.<br />Linux ignores some common Unix features that are thought to be poorly designed, such as STREAMS, or standards that are brain dead.<br />
  4. 4. Linux Kernel Versions<br />Linux Kernel Naming Convention<br />Where to find ?<br />http://www.kernel.org<br />
  5. 5. Installing Kernel Source code :<br />How : $ tar xvjf linux-x.y.z.tar.bz2// $ tar xvzflinux-x.y.z.tar.gz<br />Where : /usr/src/linux<br />Patches : $ patch -p1 < ../patch-x.y.z<br />
  6. 6. Kernel Directory Hierarchy :<br />
  7. 7. Building a Kernel :<br />Configuring :<br />Configuring options – prefixed by CONFIG_feature<br />Boolean or Tristate : <br /> yes, no, or module<br />$ make config<br />Or $ make menuconfig<br />Or $ make xconfig<br />Or $ make gconfig<br />
  8. 8. Installing Kernel :<br />architecture and boot loader dependent.<br />Eg., on an x86 using grub<br /> copy arch/i386/boot/bzImage to /boot,<br /> edit /boot/grub/grub.conf<br />Installing Modules :<br />% make modules_install<br />In /lib<br />
  9. 9. A Beast of a Different Nature<br />The kernel does not have access to the C library.<br /> The kernel is coded in GNU C.<br /> The kernel lacks memory protection like user-space.<br /> The kernel cannot easily use floating point.<br /> The kernel has a small fixed-size stack.<br />
  10. 10. Process Management<br />Kernel Threads<br />Process Scheduling<br />System Calls<br /> <br />The relationship between applications, the C library, and the kernel with a call to printf().<br />
  11. 11. Interrupts and Interrupt Handlers<br />Interrupts, IRQ,ISR, entry point<br />
  12. 12. Memory Management<br />Memory allocation<br />Pages :<br />Smallest – word <br />MMU manages the system's page tables with page-sized granularity<br />Virtual Filesystem (VFS)<br />
  13. 13. Bugs in the Kernel<br />as varied as in user-space applications<br />INCORRECT CODE, SYNCRONISATION<br />Debugging:<br />Seem difficult but quite easy.<br />Unlike large software, have typical issues<br />Time constraints, race conditions<br />
  14. 14. Thank You <br />

×