]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ITIMER_REAL: convert to use struct pid
authorOleg Nesterov <oleg@tv-sign.ru>
Fri, 8 Feb 2008 12:19:19 +0000 (04:19 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 8 Feb 2008 17:22:29 +0000 (09:22 -0800)
commitfea9d175545b38cb3e84569400419eb81bc90fa3
tree0d43fe9ed2ea6104ee8b15a3eb8da081dd08fd35
parent46f382d2b69d2221086b823f0dbc8f32c027cac2
ITIMER_REAL: convert to use struct pid

signal_struct->tsk points to the ->group_leader and thus we have the nasty
code in de_thread() which has to change it and restart ->real_timer if the
leader is changed.

Use "struct pid *leader_pid" instead.  This also allows us to kill now
unneeded send_group_sig_info().

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Davide Libenzi <davidel@xmailserver.org>
Cc: Pavel Emelyanov <xemul@openvz.org>
Acked-by: Roland McGrath <roland@redhat.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/exec.c
include/linux/sched.h
kernel/fork.c
kernel/itimer.c
kernel/signal.c