[PATCH 0/4] swapper fixes (Was: kernel panic on kill(0, SIGTERM) with PGID == 0)
Hello, Mathias Krause reports that a buggy (or special) /sbin/init can crash the kernel if it sends a signal to its pgrp/sid before it changes its initial (0,0) pids. See the changelog for 1/4. git-bisect blames "start the global /sbin/init with 0,0 special pids" commit 430c623121ea88ca80595c99fdc63b7f8a803ae5... 10 May 2010 16:33
[PATCH 2/4] pids: init_struct_pid.tasks should never see the swapper process
"statically initialize struct pid for swapper" commit 820e45db says: Statically initialize a struct pid for the swapper process (pid_t == 0) and attach it to init_task. This is needed so task_pid(), task_pgrp() and task_session() interfaces work on the swapper process also. OK, but: - it doesn't make se... 10 May 2010 16:33
[PATCH 4/4] INIT_SIGHAND: use SIG_DFL instead of NULL
Cosmetic, no changes in the compiled code. Just s/NULL/SIG_DFL/ to make it more readable and grep-friendly. Note: probably SIG_IGN makes more sense, we could kill ignore_signals(). But then kernel_init() should do flush_signal_handlers() before exec(). Signed-off-by: Oleg Nesterov <oleg(a)redhat.com> --- inc... 10 May 2010 16:33
[PATCH 3/4] pids: fix fork_idle() to setup ->pids correctly
copy_process(pid => &init_struct_pid) doesn't do attach_pid/etc. It shouldn't, but this means that the idle threads run with the wrong pids copied from the caller's task_struct. In x86 case the caller is either kernel_init() thread or keventd. In particular, this means that after the series of cpu_up/cpu_down a... 10 May 2010 16:33
Using wireless.kernel.org for Bluetooth documentation as well ?
Today we have a wealth of information on 802.11 Linux wireless on http://wireless.kernel.org and I think the wiki model has worked wonders for us. I wanted to see what you thought of using the same site as a source of documentation for Bluetooth as well. We already have *some* Bluetooth documentation [1], and we co... 11 May 2010 10:03
swiotlb: Make exportable bookkeeping functions and variables have same prefix.
On Sun, May 09, 2010 at 10:41:25PM +0900, FUJITA Tomonori wrote: On Wed, 7 Apr 2010 16:29:27 -0400 Konrad Rzeszutek Wilk <konrad.wilk(a)oracle.com> wrote: We prefix pertient book keeping functions and variables with the 'swiotlb_tbl' prefix. Signed-off-by: Konrad Rzeszutek Wilk <konrad.wil... 10 May 2010 22:07
swiotlb: swiotlb_tbl_map_single: abstract out swiotlb_virt_to_bus calls out.
On Sun, May 09, 2010 at 10:41:15PM +0900, FUJITA Tomonori wrote: On Wed, 7 Apr 2010 16:29:26 -0400 Konrad Rzeszutek Wilk <konrad.wilk(a)oracle.com> wrote: We want to move that function out of swiotlb_tbl_map_single so that the caller of this function does the virt->phys->bus address translation. ... 10 May 2010 22:07
wlan-ng: hfa384x_usb.c patch: Fix Whitespace issues
>From bd66eecfcc4fa4c0340f55d73dd4ada3a5e0b00a Mon Sep 17 00:00:00 2001 From: Adam Latham <adam.latham(a)unisontorbay.org.uk> Date: Mon, 10 May 2010 19:59:39 +0100 Subject: [PATCH] Staging: wlan-ng: fix whitespace errors in hfa384x_usb.c This is a patch to fix a number of whitespace issues in the hfa384x_usb.c fil... 14 May 2010 17:13
perf probe: Don't compile CFI related code if elfutils is old
Robert Richter wrote: On 10.05.10 13:28:54, Arnaldo Carvalho de Melo wrote: Em Mon, May 10, 2010 at 01:12:07PM -0400, Masami Hiramatsu escreveu: Check elfutils version, and if it is old don't compile CFI analysis code. This allows to compile perf with old elfutils. _ELFUTILS_PREREQ was int... 10 May 2010 16:33
[PATCHv3 2.6.34-rc7 2/3] mx5: change usb clock source from pll3 to pll2
For power management reasons, pll2 should be used to source the USBOH3 clock for mx51. PLL3 can be completely gated off when USB is not used. This patch applies to 2.6.34-rc7. Signed-off-by: Dinh Nguyen <Dinh.Nguyen(a)freescale.com> --- arch/arm/mach-mx5/clock-mx51.c | 43 ++++++++++++++++++++++++++++++++++++-... 10 May 2010 15:26