login
Header Space

 
 

KernelTrap is a web community devoted to sharing the latest in kernel development news.
Popular mailing list messages
Score: 1
linux-kernel mailing list
On Tue, 26 Aug 2008 23:20:46 -0700 I don't know where that stupid story keeps coming from. Ioctl is alive and well and there are more not less of them. There are lots of things you *cannot* do with sysfs, including synchronization and handling many k...
Score: 1
linux-kernel mailing list
Umm. Neither is 8k stacks. Nobody "proved" anything. But yes, some subsystems have insanely deep call chains. And yes, things like the VFS recursion (for symlinks) makes that deeper yet for filesystems, although only on the lookup path. And th...
Score: 1
linux-ext4 mailing list
Ah, I see. So the main thing that you are trying to achieve with the patch is avoid the non-zero exit from fsck, right? I guess I'm really not that happy with letting the filesystem getting marked as "valid" if the user refuses to fix the free bloc...
Score: 1
git mailing list
To me, one of the two saddest part of this story is this. I was among the "don't change anything, get used to it just like old timers are already used to" camp, when people said that having many commands in /usr/bin (or $HOME/bin) would scare people...
Score: 1
linux-kernel mailing list
Posted by Eric Anholt on August 26, 2008 - 3:43pm
This patch series brings a long-awaited kernel memory manager to the i915 driver. This will allow us to do correct composited OpenGL, speed up OpenGL-based compositing, and enable framebuffer objects and other "new" OpenGL extensions. This patchset is...
Show all popular messages...

2.6.27-rc4, "Random Stuff All Over"

August 25, 2008 - 5:10pm
Submitted by Jeremy on August 25, 2008 - 5:10pm.
Linux news

"Another week, another -rc," began Linus Torvalds, announcing the 2.6.27-rc4 Linux kernel, continuing, "this time the diffstat is almost totally dominated by the addition of the musb driver that drives the MUSB and TUSB controllers integrated into omap2430 and davinci. That, together with the removal of the auerswald USB driver (replaced by libusb version) is more than half of the bulk of the patch, and obviously most users won't ever notice." Linus added:

"Apart from those bulky USB updates, there's some arch updates (blackfin and ia64), network and input driver updates, and an XFS and UBIFS update. The rest is mostly random stuff all over, probably best described by the appended shortlog. A number of regressions should be off the table, but more remain..."

Quote: Good Enough Is Never Good Enough

August 25, 2008 - 5:06pm
Submitted by Jeremy on August 25, 2008 - 5:06pm.

"'Good enough' is never good enough ;) What is the ideal implementation? Let's implement that."

— Andrew Morton, in an August 24th, 2008 message on the Linux Kernel mailing list.

AXFS, Advanced Execute In Place Filesystem

August 21, 2008 - 11:10pm
Submitted by Jeremy on August 21, 2008 - 11:10pm.
Linux news

"I'd like to get a first round of review on my AXFS filesystem," began Jared Hulbert, describing his new Advanced XIP File System for Linux. XIP stands for eXecute-In-Place. The new filesystem received quite a bit of positive feedback. Jared offered the following description:

"This is a simple read only compressed filesystem like Squashfs and cramfs. AXFS is special because it also allows for execute-in-place of your applications. It is a major improvement over the cramfs XIP patches that have been floating around for ages. The biggest improvement is in the way AXFS allows for each page to be XIP or not. First, a user collects information about which pages are accessed on a compressed image for each mmap()ed region from /proc/axfs/volume0. That 'profile' is used as an input to the image builder. The resulting image has only the relevant pages uncompressed and XIP. The result is smaller memory sizes and faster launches."

Quote: Maybe I'm Overly Pessimistic

August 21, 2008 - 10:53pm
Submitted by Jeremy on August 21, 2008 - 10:53pm.

"The C standard will eventually support concurrency (they are working on it), and it will almost inevitably be a horrible pile of stinking sh*t, and we'll continue to use the gcc inline asms instead, but then the gcc people will ignore our complaints when they break the compiler, and say that we should use the stinking pile-of-sh*t ones that are built in.

"No, I haven't seen the drafts, and maybe I'm overly pessimistic, but I'm pretty sure that this is an area where (a) the kernel needs more support than most normal pthread-like models and (b) any design-by-committee thing simply won't be very good, because they'll have to try to make everybody happy. Oh well."

— Linus Torvalds, in an August 21st, 2008 message on the Linux Kernel mailing list.

Git 1.6.0 Released

August 19, 2008 - 7:46am
Submitted by Jeremy on August 19, 2008 - 7:46am.
Tools

"The latest feature release GIT 1.6.0 is available at the usual places," began Git maintainer, Junio Hamano, announcing the latest stable release of the distributed version control system originally written by Linus Torvalds. Among the current changes, Junio noted, "with the default Makefile settings, most of the programs are now installed outside your $PATH, except for 'git', 'gitk' and some server side programs that need to be accessible for technical reasons." He continued, "by default, packfiles created with this version uses delta-base-offset
encoding introduced in v1.4.4. Pack idx files are using version 2 that allows larger packs and added robustness thanks to its CRC checking, introduced in v1.5.2 and v1.4.4.5.
" Julio highlighted several other changes, including the addition of a '.sample' extension to the default trigger scripts to be sure they don't execute in a default install, and the removal of the 'stupid' merge strategy. Other changes include:

"Git-gui learned to stage changes per-line; Reduced excessive inlining to shrink size of the 'git' binary; When an object is corrupt in a pack, the object became unusable even when the same object is available in a loose form, we now try harder to fall back to these redundant objects when able; performance of 'git-blame -C -C' operation is vastly improved; even more documentation pages are now accessible via 'man' and 'git help'; longstanding latency issue with bash completion script has been addressed; pager. configuration variable can be used to enable/disable the default paging behaviour per command; git-cvsserver learned to respond to 'cvs co -c'; 'git-diff -p' learned to grab a better hunk header lines in BibTex, Pascal/Delphi, and Ruby files and also pays attention to chapter and part boundary in TeX documents; error codes from gitweb are made more descriptive where possible, rather than '403 forbidden' as we used to issue everywhere; git-merge has been reimplemented in C."

Quote: Very Hacky Indeed

August 19, 2008 - 7:45am
Submitted by Jeremy on August 19, 2008 - 7:45am.

"The delta cache was really a huge hack that just turned out rather successful. It's been hacked on further since (to do some half-way reasonable replacement with _another_ hack by adding an LRU on top of it), but it really is very hacky indeed."

— Linus Torvalds, in an August 15th, 2008 message on the git mailing list.

64-bit Application Thread Creation Performance

August 18, 2008 - 3:51pm
Submitted by Jeremy on August 18, 2008 - 3:51pm.
Linux news

A recent discussion on the Linux Kernel mailing list noted that threaded 64-bit applications suffer a drastic slowdown in pthread_create performance when stack utilization goes above 4GB. Ingo Molnar offered an explanation of the problem, "unfortunately MAP_32BIT use in 64-bit apps for stacks was apparently created without foresight about what would happen in the MM when thread stacks exhaust 4GB. The problem is that MAP_32BIT is used both as a performance hack for 64-bit apps and as an ABI compat mechanism for 32-bit apps. So we cannot just start disregarding MAP_32BIT in the kernel - we'd break 32-bit compat apps and/or compat 32-bit libraries." The original report noted that once the shared stack goes above 4GB in size, thread creation can take as long as 10 milliseconds, a slowdown described as "quite unacceptable".

Ingo created a patch introducing a new MAP_STACK flag for glibc to be used instead of MAP_32BIT and avoid imposing the 32-bit performance limitation on threaded 64-bit applications. He noted, "glibc can switch to this new flag straight away - it will be ignored by the kernel." The new flag was quickly merged upstream, and changes were planned for glibc.

Quote: Linux Will Have Similar Problems

August 18, 2008 - 1:28pm
Submitted by Jeremy on August 18, 2008 - 1:28pm.

"If web browsers, office suites and mail clients on Windows have certain kinds of vulnerabilities, it is safe to assume that the same programs on Linux will have similar problems."

— Rik van Riel, in an August 17th, 2008 message on the Linux Kernel mailing list.

Tux3 Hierarchical Structure

August 14, 2008 - 10:04pm
Submitted by Jeremy on August 14, 2008 - 10:04pm.
Linux news

"It is about time to take a step back and describe what I have been implementing," began Daniel Phillips, referring to his new Tux3 filesystem. He provided a simple ASCII diagram that detailed the filesystem's hierarchical structure, describing each of the elements. About one he noted, "the volume table is a new addition not central to the goals of Tux3, but a nice feature to have given that it comes nearly for free. One Tux3 volume can have an arbitrary number of separate filesystems tucked inside it, indexed by a simple integer parameter at mount time. People say they like this idea and it imposes no significant complexity, so it goes in." Daniel continued:

"Each volume has a metablock pointing at the forward log chain for the volume, a version table that describes the hierarchical relationship between versions (snapshots), an atime table to take care of that horrid legacy Unix feature, and an inode table containing files and attributes of files. [...] Versioning takes place in three places, versioned pointers in the atime btree, versioned extents in a file data btree and versioned attributes in the inode table. [...] Notice the absence of a journal, the functionality of which is provided by forward log elements that I described in the Hammer thread (and will eventually write a separate post about)."

Quote: Benchmark Of The Filesystem

August 14, 2008 - 9:47pm
Submitted by Jeremy on August 14, 2008 - 9:47pm.

"Any benchmark is going to be a benchmark of the OS as much as it is going to be a benchmark of the filesystem. It's pretty hard to separate the two. ZFS is best tested on Open Solaris. UFS is best tested on FreeBSD, EXT3 is best tested on Linux, and HAMMER of course is best tested on DragonFly."

— Matthew Dillon, in an August 13th, 2008 message on the Dragonfly BSD Kernel mailing list.

Highlighting Interesting Mailing List Discussions

August 13, 2008 - 6:00pm
Submitted by Jeremy on August 13, 2008 - 6:00pm.
KernelTrap

New functionality has been enabled that allows logged-in users to highlight interesting mailing list discussions. This new feature has been provided out of necessity, as I'm finding myself with insufficient time of late for keeping up with the many mailing lists I track to post articles on KernelTrap. My goal is to inspire you to participate more in the process, occasionally clicking the new up-arrow on mailing list messages that you find interesting and worthy of attention. In the upcoming weeks, improved interfaces will be provided for navigating other people's votes, and for filtering on only the mailing lists you're interested in. Future KernelTrap stories and quotes will be selected from those that are highlighted by this voting process.

Quote: History Is A One Way Street

August 13, 2008 - 5:29pm
Submitted by Jeremy on August 13, 2008 - 5:29pm.

"History is a one way street, and you might as well have the fs known the way it is so that people remember 'reiser oh wasn't he the guy who..' - unless you are trying to market the fs I guess."

— Alan Cox, in an August 13th, 2008 message on the Linux Kernel mailing list.

2.6.27-rc3, "Things Really _Have_ Calmed Down"

August 13, 2008 - 2:49pm
Submitted by Jeremy on August 13, 2008 - 2:49pm.
Linux news

"Things really _have_ calmed down, and hopefully we've also resolved a lot of the regressions in -rc3," began Linus Torvalds, announcing the 2.6.27-rc3 Linux kernel. He noted that much of the patch size was from the inclusion of the new ath9k wireless driver, with much of the rest of the patch size due to the renaming of many arch include files in the ARM, AVR32 and m68lnommu architectures. Linus continued:

"All the small changes are where the regression fixes are, and other random improvements. And they're all over. The ShortLog (appended) probably gives a taste of it."

Quote: Security Is Not An Absolute

August 12, 2008 - 11:27am
Submitted by Jeremy on August 12, 2008 - 11:27am.

"Security is not an absolute. Just as the terrorists win if it can induce the White House to shred the constitution and force us all to live in a constant state of fear, it is also pointless to induce people to install software that horrifically slows down their server so badly that you can't get anything done."

— Theodore Ts'o, in an August 8th, 2008 message on the Linux Kernel mailing list.

LVM Snapshot Merging

August 9, 2008 - 2:02pm
Submitted by Jeremy on August 9, 2008 - 2:02pm.
Linux news

Mikulas Patocka announced new patches introducing snapshot merging for the Linux kernel's logical volume manager. He explained, "snapshot merging allows you to merge snapshot content back into the original device. The most useful use for this feature is the possibility to rollback [the] state of the whole computer after [a] failed package upgrade, [or an] administrator's error". The patches are for the 2.6.26 kernel, with device mapper 1.02.27 and LVM2.2.02.39.

Mikulas noted that there are three types of merges supported, --nameorigin, --namesnapshot, and --onactivate. The default merge method is --nameorigin, which can merge a snapshot into the origin volume, which can be mounted at any time after the merge starts. The --namesnapshot method merges into a snapshot, which can then be mounted. And the --onactive method schedules a merge to happen the next time the volume is activated, such as during a reboot. Mikulas noted, "this implementation of snapshot merging is meant to be stable, report any possible bugs to me."

speck-geostationary