Linux 2.6.22 Kernel Released 273
An anonymous reader writes "Linux creator Linus Torvalds announced the official release of the 2.6.22 kernel: 'It's out there now (or at least in the process of mirroring out — if you don't see everything, give it a bit of time).' The previous stable kernel, 2.6.21, was released a little over two months ago. New features in the 2.6.22 kernel include a SLUB allocator which replaces the slab allocator, a new wireless stack, a new Firewire stack, and support for the Blackfin architecture. Source-level changes can be tracked via the gitweb interface to Linus' kernel tree."
Wow; Informative? (Score:3, Insightful)
n00b (Score:1, Insightful)
Re:n00b (Score:3, Insightful)
Not sure why that is modded Insightful and just above that is another user asking which usb device would be best to buy for a linux box, but that is modded "off-topic." I remember when slashdot was about news for geeks and sharing information about geeky things for linux/bsd/etc.. Now it seems like its just about modding up snarky comments and crap articles about george bush. Sad turn its taken over the last few years.
New wireless stack? Firewire stack? WTF? (Score:1, Insightful)
Am I the only one who cringes when someone says they have released a totally new wireless stack in a point release? Does everyone forget the VM switch fiasco already?
I really really regret the switchover to this whole new "accelerated" kernel dev. phase. Since this is just a point release, but has a totally new wireless stack, how do I know that my next OS update won't just break my whole networking setup? Argh.
Headline does not match the story (Score:3, Insightful)
Specific complaints should be stated as such instead of rubbish about it all being broken. The Gentoo thread quoted above is about people discovering that writing to optical drives is horribly slow and puts a lot of load on the CPU in comparison to dealing with hard disks - looking up ATAPI may have been a good move at that point instead of a lot of speculation.
Re:Goto considered harmful? (Score:3, Insightful)
Yeah, too much of it results in spaghetti code.
But used well, it can compensate for the lack of some things in C. For example, exiting nested loops. In Perl you can say "last NAME", where NAME is the name you gave to the loop, and exit from the outer loop directly.
In C, if you avoid goto what results is a check in every loop to determine whether the inner loop decided that we've got to bail out. This is much uglier than just using goto in the first place, and more error prone too.
Using goto is also handy for error handling: When you're allocating memory, goto allows jumping to the right point in the cleanup process, instead of duplicating bits of code everywhere.
It's my understanding that in kernel programming goto also has advantages in terms of speed over other alternatives.
That's not to say we should use everywhere. But IMO, what to use should be decided on the basis of what is the cleanest and less error prone option -- If goto results in cleaner code, then use it, if it doesn't then don't.
R:Wow; ===parent is troll=== (Score:0, Insightful)
Mod parent down please
Re:New wireless stack? Firewire stack? WTF? (Score:5, Insightful)
Re:Goto considered harmful? (Score:2, Insightful)
Personally I use whatever the language gives me wherever I can to make things as computationally short as possible. Sacrificing performance for programmer comfort does not make sense. If the code looks ugly, but it works (and works fast!), that's all it needs to do. For every one programmer you have thousands of users, and the users don't care if the source is pretty or not.
Re:New wireless stack? Firewire stack? WTF? (Score:1, Insightful)
Myself, I need my servers to be stable and a release schedule that I can depend on, so the 2.6.x series of kernels was what finally pushed me completely to BSD for my UNIX needs.
Re:n00b (Score:3, Insightful)
Do you know and understand all of the technology in your car? your cell phone?
Re:User "Aldric" is a cyber-vandal (Score:3, Insightful)