2009/11/29 Linux Kernel Podcast
Audio: http://media.libsyn.com/media/jcm/linux_kernel_podcast_20091129.mp3
For the US Thanksgiving holiday and weekend of November 29th 2009, I’m Jon Masters with a summary of today’s LKML traffic.
In today’s issue: Early platform driver buffer, Intel processor performance, Kbuild, LIRC, PCI, scheduler, and tracing.
Early platform driver buffer. Magnus Damm posted a patch implementing support for an early platform driver buffer in which such drivers can store pieces of the kernel command line that they will need to later process.
Intel processor performance. Ling Ma (Intel) posted to let everyone know that Intel has performed some compilation comparisons between using the GCC -Os and GCC -O2 flags. Until now, there has been an assumption that optimizing the kernel image (on x86 systems) for size would result in greater performance because of improved cache utilization, but as Ling points out, modern Intel processors have excellent pre-fetch support and benchmarks show they perform better when the GCC optimizations for performance are used instead. The difference can be as much as an 8% performance improvement.
Kbuild. Sam Ravnborg replied to a posting of a git tree from Michal Marek asking Stephen Rothwell to replace the existing linux-next kbuild tree with Michal’s one, suggesting that Michal is about to own that.
LIRC. Jon Smirl took the opportunity of a discussion along the lines of reconciling existing LIRC code into some kind of input layer extension to repost some existing patches he had written that implement in-kernel IR support using evdev. He includes example use cases. Later, Jon posted an RFC intended to stir a debate about what an in-kernel IR system should do.
PCI. Stefan Assmann posted a patch intended to bring the kernel into conformance with the PCI-SIG’s guidelines on the usage of PCI trademarks and logos, by changing occurances of PCI-X, PCIe, Gb/s, and so forth. Separately, Rafael J. Wysocki posted an initial round of patches intended to provided runtime power management for PCI devices through ACPI/native PCIe PME.
Scheduler. Christian Ehrhardt posted to let everyone know that the current kernel isn’t recalculating various scheduler tunables on cpu hot add/remove. Consequently, sysctl_sched_min_granularity, sysctl_sched_latency, and sysctl_sched_wakeup_granularity are calculated in relation to the number of CPUs online at boot time (sched_init_granulatrity). Peter Zijlstra asked if this was “virt junk that’s playing dumb games with hotplug isn’t it?”. In fact it was an s390x feature in which CPUs come and go according to utilization.
Tracing. Li Zefan posted a patch converting a number of trace events over to DEFINE_TRACE, reducing code size and memory footprint.
The latest kernel release is 2.6.32-rc8.
Jan Engelhardt posted to let everyone know that increasing max_map_count to too large a value causes programs to fail to run (for example, attempting to write 2GB-1 to the /proc/sys/vm entry). This suggests some range checking bug exists in that particular sysfs interface file. Amerigo Wang posted a patch.
Stephen Rothwell posted a linux-next tree for November 26th. Since Wednesday, the m68k, trivial, and percpu trees lost conflicts, while the m68knommu, sparc, acpi, net, backlight, and workqueues gained issues. The total sub-tree count remains steady at 154 trees.
Stephen Rothwell posted a linux-next tree for November 27th. Since Thursday, there was a new tree (logfs), a new kbuild maintainer, and a removed tree (kbuild-current, since the maintainer has changed). The sparc, rr, and osd trees had issues, while the workqueues tree lost its build failure. The total sub-tree count remained at 154 trees with the add/remove tree dance.
That’s a summary of today’s Linux Kernel Mailing List traffic, for further information visit www.kernel.org. I’m Jon Masters.

