Kernel coding no picnic, says Torvalds

Related gallery

Mint Linux 12 Lisa

Mint Linux 12 Lisa

Linux project lead Linus Torvalds has said it is not easy to become a major contributor to the Linux kernel.

Linus Torvalds
(Credit: Wikipedia)

In an email interview with ZDNet.com.au sister site ZDNet.co.uk last week, Torvalds said that, while it was relatively easy for coders and organisations to contribute small patches, the contribution of large patches, developed in isolation, could lead to both new and established contributors becoming frustrated.

"It's definitely not easy to become a 'big contributor'," wrote Torvalds. "For one thing, the kernel is quite complex and big, and it inevitably simply takes time to learn all the rules, not just for the code, but for how the whole development environment works. Similarly, for a new developer, it will take time before people start recognising the name and start trusting the developer to do the right things."

However, Torvalds argued that Linux kernel processes did make it easy to contribute small patches.

"[We] make it fairly easy for people to ease into kernel development," wrote Torvalds. "It seems to be working too. We literally have thousands of people with patches attributed to them in each release."

Torvalds wrote that nobody should expect to start sending "big and complex" patches early, as it takes time for new contributors and established coders to learn how to interact effectively.

"The worst thing anybody can do is to study the kernel alone and try to learn things in private, and then, however many months later, present all the established kernel developers with a big patch that just comes out of the blue," wrote Torvalds. "That's just going to be frustrating for everybody."

Torvalds advised new contributors to "start small" by sending "trivial patches".

"It may not sound exciting but, quite frankly, I don't think anybody who starts out believing that they want to rewrite some big piece of the kernel should even bother. Reality isn't that simple."

Torvalds admitted that frustrated developers might become alienated by the Linux development process, which he said could be improved.

"I don't think a 'perfect' process exists," wrote Torvalds. "Of course, some people will be alienated, and there's no doubt that the process could probably be improved."

The developer warned that Linux kernel development was "not a 'warm and fuzzy' environment where people sing Kumbaya around the fireplace" and that some "very opinionated people" were involved.

"The kernel is about pretty harsh technical issues, and mistakes are really frowned upon," wrote Torvalds. "In an OS kernel, there are simply more security and stability requirements, and the bar is really higher in some respects. That will inevitably also reflect in the response to patches."

Nonetheless, Torvalds said the patching process in Linux was more about human interaction than a quantifiable set of steps, such as those listed in official international standards processes.

Although thousands of developers are involved in Linux kernel coding, Torvalds argued that the development process was still efficient. "I think that one of the things we've been very good at is to scale up with a good network of maintainers, so that most people involved actually don't work closely with more than a handful of people," he wrote.

Mark Taylor, president of the Open Source Consortium, said that, in general, enterprise-class open source projects were designed to scale appropriately.

"The whole process scales very well," said Taylor. "Normally the people you find at the core [of open source projects] are professional software engineers; these guys know how to run software projects."

Torvalds' and Taylor's comments follow the publication of a guide to Linux kernel development by the Linux Foundation, which aims to prevent developers becoming frustrated with the process.

Talkback

Add your opinion

In order to post a comment, you need to be registered. (Sign In or register below)

Post your comment

Terms of Service - As a ZDNet registrant, and by using this service, you indicate that you agree to our Terms and Conditions and have read and understand our Privacy Policy.

ZDNet Australia Live

Lenovo posts strong Q3 results http://t.co/dNMvlgEO

Telstra Next G juggles 13.2m customers - Communications - News - ZDNet Australia http://t.co/9YyD004g

by http://t.co/vmlQ0Ecb: Foxconn falls victim to hackers: Apple supplier Foxconn now has another crisis on its ha... http://t.co/qlIegpd4

There goes the neighborhood... “@zdnetaustralia: Oracle buys Taleo for US$1.9bn http://t.co/IZfVqeoQ

wow big news. Talent management is a massive opportunity. “@zdnetaustralia: Oracle buys Taleo for US$1.9bn http://t.co/EdRbMMoe

Foxconn falls victim to hackers: Apple supplier Foxconn now has another crisis on its hands, this time after fal... http://t.co/6XIng4gn

Qld hacklab seeks Linux Australia funding - Business - News - ZDNet Australia http://t.co/pDzegiwe

Apple supplier Foxconn falls victim to a hack that exposes the private details of staff http://t.co/zZH9064P

I'd say a reasonable amount of it would be. In the Queensland Department of Education's case, it said it was trying to make as much of it...

32 minutes ago by suzanne.tindal on The application nation

LinkedIn posts strong Q4 earnings, up in after hours trading http://t.co/KCz0c2MR

Good dialogue with Suzanne Tinda l- Zdnet.au @engochick on software license optimization for gov't spend reduction http://t.co/iY56glUM

Good dialogue with Suzanne Tinda l- Zdnet.au @engochick on software license optimization for gov't spend reduction http://t.co/E1ZjxOV5 #in

FBI releases Steve Jobs' background check: What's inside http://t.co/q1KgeEyy

Exploring: Defence IT blamed in vetting fiasco: An investigation into the falsification of data us... http://t.co/Ia75JQyD #ICTChallenge

Exploring: Defence IT blamed in vetting fiasco: An investigation into the falsification of data us... http://t.co/LIcGQ79p #ICTChallenge

Database encryption demystified: Four common misconceptions http://t.co/2CxZ4MsE

RT @FacebookGeek: Facebook admits it needs to fight scams more efficiently http://t.co/iLUAPAGD #facebook

Social networks are actually more positive places than expected http://t.co/kHqOK39v

http://t.co/E3o1HhNX 32x3... Read more at http://t.co/PLjMcVTI

Yikes: this person is caught in a Google+ name appeal nightmare: http://t.co/ti9zpPpt #nymwars

Lenovo ThinkPad Tablet to get Ice Cream Sandwich: By Ben Woods , 9 February, 2012 16:54 Follow @BenWoodsZD Blogg... http://t.co/AYnVQH3I

RT @GreatWebs: RT @RLSantuciJr: Be aware and beware #Facebook #rules -- you could lose valuable rights | ZDNet http://t.co/jzb1Wmdm via @addthis #caution

iPhone commands better resale value than Android or Blackberry - http://t.co/ESLCypl2

#WhatsInsideSteveJobs ? RT @rickmans FBI releases Steve Jobs' background check: What's inside http://t.co/Qy2oYije

Database encryption demystified: Four common misconceptions http://t.co/pOyVca5B #tekfalke

Ice Cream Sandwich update rolling out to select HTC devices in March http://t.co/0XBf5HQs #tekfalke

Ice Cream Sandwich update rolling out to select HTC devices in March: HTC announced that owners of many of their... http://t.co/h9IVWsdA

RT @ZDNet: Ice Cream Sandwich update rolling out to select HTC devices in March http://t.co/V2RY0D9P

RT @JNina: DANGER! Caffeine fix? Now you can literally inhale it. http://t.co/Sr5Wcfnm

RT @ZDNet: Ice Cream Sandwich update rolling out to select HTC devices in March http://t.co/V2RY0D9P

RT @NeoPolus: I could subscribe those five reasons: "Five Reasons why Windows 8 will be dead on arrival" http://t.co/aZePlE8U

RT @ZDNet: Facebook admits it needs to fight scams more efficiently http://t.co/SyYcsZJW

Why You (and Your Enterprise) Should Get an iPod touch instead of an iPhone - ZDNet (blog) http://t.co/xUrCPxpa

RT @violetblue: Yikes: this person is caught in a Google+ name appeal nightmare: http://t.co/ti9zpPpt #nymwars

Ice Cream Sandwich update rolling out to select HTC devices in March http://t.co/GwrLOHCx

RT "@CompuSecure: Hackers: $50000 to keep Symantec source code private http://t.co/mGy88V0m"

Great article, Suzanne—couldn’t agree more. It is only logical for organisations – private or public-- to take a long, hard look ...

59 minutes ago by kashe on The application nation

Every example of action against child molesters in this story related to internet protocols other than the www. This filter then achieves...

1 hour ago by Bob.H on Interpol defends voluntary filter

Soooo... it's okay for Apple to demand use of technologies and designs falling under competitors patents (considered "standards"), but on...

9 hours ago by MoWeb on Apple wants new rules for mobile patents

But I am having an intelligent conversation young fibes, my point is the lofty goal that all are equal is unfortunately not so. That is w...

11 hours ago by Doubt on NBN Co inks $620m satellite deal

May be so, but we do need to lighten up some of these people who are so serious. poor old fibretech nearly brings tears to the eyes and j...

11 hours ago by Doubt on Turnbull decries 'Rolls-Royce' satellites

The latest MS Windows update for XP tries hard to persuade you to update. For those machines that already have IE8 loaded it tries to re-...

12 hours ago by brak on Windows XP clings on as dominant OS

Will be interesting to see if he drives the qld gov political IT agenda or looks to address the IT challenges being faced by qld gov agen...

12 hours ago by Flly on Queensland's CIO returns to the post

So angry! NOKIA has forgotten the main purpose and the user function, and instead prioritised their industry level concerns. I bought my...

13 hours ago by spaceagesoup on Nokia skips Australia in Symbian Belle roll-out

I get what you mean in your context, meski. If the filter is like speed cameras, then people can alternately take side streets and back r...

14 hours ago by techkid on Interpol defends voluntary filter

Remind me again how people can get to a leadership position with absolutely no practical knowledge? I would ask Alexander how he intends...

15 hours ago by cleversoap on Internet won't always be anonymous: ITU

I was reading about DMARC at http://www.unlocktheinbox.com/resources/dmarc.aspx, perhaps they should try to implement something like this...

16 hours ago by wpfn on Phishing scam causes Telstra email woe

As you can tell, I'm a big follower. For AFL read NRL.

16 hours ago by phildobbie on The TV Now aftermath

Im not sure if David Gallop realises he now works for the AFL.

16 hours ago by katerich on The TV Now aftermath

That assumes that people see the stop sign. If you're using proxies, or whatever *all* the time, then these stop signs will never be obs...

17 hours ago by meski on Interpol defends voluntary filter

The advanced remote controlled machines reduce the human working rate from hazardous environment.

17 hours ago by Manasy on Robotic mining worth its high cost: Rio

Internet connection rate tremendously increasingly a lot.

17 hours ago by Manasy on Optus unveils NBN small business plans

content producers see Quickflix as a cheap and effective way of distributing copy-protected content in the Australian market.

17 hours ago by Manasy on Quickflix looks to avoid Netflix's failures

After this it could be very easy to identify the vulnerability products.

17 hours ago by Manasy on Body scanners coming to airports in July

Reducing noise and increasing fuel efficiency brings out ultra efficient to aircraft.

17 hours ago by Manasy on NASA's ideas on future of flight: photos

This story has been voted 20 times in the last 24 hours!

2 days ago, Symantec confirms hacker extortion

This story has been voted 10 times in the last 24 hours!

2 days ago, Symantec confirms hacker extortion

Facebook Activity

Keep up with ZDNet Australia

ZDNet Events Calendar

ZDNet Events Calendar