How and Why You Should Become a Kernel Hacker - FOSS.IN/2007

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    How and Why You Should Become a Kernel Hacker - FOSS.IN/2007 - Presentation Transcript

    1. How and Why You Should Become a Kernel Hacker James Morris jmorris@namei.org FOSS.IN/2007 – Bengaluru, India
    2. Introduction
    3. Only Three Essential Requirements ● Genuine interest ● Common sense ● Willing to work hard
    4. Kernel Hacking Myths Myth: Kernel hacking is bizarrely difficult and mysterious. Reality: It’s just software.
    5. Kernel Hacking Myths Myth: Kernel hackers are mutant super geniuses. Reality: There are a few of those, but most are just good engineers.
    6. How – Getting Started ● Dreaded mailing list: lkml ● Books ● Online resources
    7. How – Getting Started ● Learn C ● Become familiar with kernel build environment ● Test and submit bug reports
    8. How – Getting Started ● Fix bugs ● Scratch an itch ● Try many ideas
    9. How – Getting Started ● Get the Basics Right! ● Coding Style ● Patch Submission
    10. How – Getting Started ● Seek Mentors ● Follow Your Interests ● Initial learning curve is steep: be persistent!
    11. How – Technical Tips ● Keep it simple ● Read the code of good programmers ● Review others’ code “I always listen for what I can leave out” -- Miles Davis
    12. How – Technical Tips Study Kernel Primitives ● Locking ● Modes, contexts ● Timers ● Data structures ● Library code
    13. How - Process Tips ● Don’t defend bad code ● Show, don’t tell “Talk is cheap. Show me the code.” -- Linus
    14. How - Process Tips ● Incremental changes ● Small, logically contained patches ● Release early and often ● Respond to feedback
    15. How - Process Tips ● Respect maintainer decisions ● Encourage contributions ● Mentor & delegate
    16. How - Social Tips ● Kernel community is a relic of USENET culture ● Getting flamed is an occupational hazard ● No excuse to do it to others ● Majority are professional
    17. How - Social Tips ● If you find yourself arguing with Alan Cox, you’re probably wrong ● Demonstrate your ideas and politely defend them if needed ● When you’re wrong, admit it and move on
    18. Resources ● “Being a Moron on linux-kernel” ● LWN ● KernelTrap ● Documentation directory ● Online books (“ldd3”) ● The perfect patch ● GIT for kernel hackers ● Kernel Mentors ● Kernel Newbies ● LXR

    + James MorrisJames Morris, 5 months ago

    custom

    223 views, 0 favs, 0 embeds more stats

    How and Why You Should Become a Kernel Hacker - FOS more

    More info about this document

    CC Attribution-ShareAlike LicenseCC Attribution-ShareAlike License

    Go to text version

    • Total Views 223
      • 223 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 9
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories