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

100 %
0 %
Information about How and Why You Should Become a Kernel Hacker - FOSS.IN/2007

Published on June 30, 2009

Author: jamesmorris



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

Presentation given in Bangalore, India.

How and Why You Should Become a Kernel Hacker James Morris FOSS.IN/2007 – Bengaluru, India


Only Three Essential Requirements ● Genuine interest ● Common sense ● Willing to work hard

Kernel Hacking Myths Myth: Kernel hacking is bizarrely difficult and mysterious. Reality: It’s just software.

Kernel Hacking Myths Myth: Kernel hackers are mutant super geniuses. Reality: There are a few of those, but most are just good engineers.

How – Getting Started ● Dreaded mailing list: lkml ● Books ● Online resources

How – Getting Started ● Learn C ● Become familiar with kernel build environment ● Test and submit bug reports

How – Getting Started ● Fix bugs ● Scratch an itch ● Try many ideas

How – Getting Started ● Get the Basics Right! ● Coding Style ● Patch Submission

How – Getting Started ● Seek Mentors ● Follow Your Interests ● Initial learning curve is steep: be persistent!

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

How – Technical Tips Study Kernel Primitives ● Locking ● Modes, contexts ● Timers ● Data structures ● Library code

How - Process Tips ● Don’t defend bad code ● Show, don’t tell “Talk is cheap. Show me the code.” -- Linus

How - Process Tips ● Incremental changes ● Small, logically contained patches ● Release early and often ● Respond to feedback

How - Process Tips ● Respect maintainer decisions ● Encourage contributions ● Mentor & delegate

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

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

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

Add a comment

Related presentations

Presentación que realice en el Evento Nacional de Gobierno Abierto, realizado los ...

In this presentation we will describe our experience developing with a highly dyna...

Presentation to the LITA Forum 7th November 2014 Albuquerque, NM

Un recorrido por los cambios que nos generará el wearabletech en el futuro

Um paralelo entre as novidades & mercado em Wearable Computing e Tecnologias Assis...

Microsoft finally joins the smartwatch and fitness tracker game by introducing the...

Related pages

How and Why You Should Become a Kernel Hacker - James Morris

How and Why You Should Become a Kernel Hacker James Morris FOSS.IN/2007 ... GIT for kernel hackers
Read more

Be a kernel hacker | Linux Voice

In general, you should descend to the kernel level only if ... that’s why you’ll find ... things that every kernel hacker should be ...
Read more

"You can be a kernel hacker!" by Julia Evans - YouTube

"You can be a kernel hacker!" ... tell you what a kernel is and why you should ... What happens when you steal a hackers computer ...
Read more

KernelHacking - Linux Kernel Newbies

KernelHacking. Kernel Hacking. ... Why a community? ... Background on kernel development. So you want to be a Linux kernel Hacker?
Read more

Linux Kernel Hackers' Guide - The Linux Documentation Project

Linux Kernel Hackers' Guide ... you only need to sign up and become a member once for the ... Why can't we incorporate new changes in linux kernel in KHG ...
Read more

Becoming a Hacker - Angelfire: Welcome to Angelfire

Becoming a hacker is not ... There are many necessary skills to become a hacker. ... Its $39.95 and you should be able to find it in your local ...
Read more

How To Become A Hacker - site page

Why you should not ask me for advice ... If you want to know how to become a hacker, ... (this is why you aren't really a hacker until other hackers ...
Read more

How to become a hacker [HD] - YouTube

What you should know for start hacking. ... How To become a hacker and make your Facebook language a hackers ... "You can be a kernel hacker!"
Read more

Why Every Hacker Should Know & Use Linux « Null Byte

... here is why you should make the transition to Linux. ... Why Every Hacker Should Know & Use Linux. ... How to Become an Elite Hacker, ...
Read more