]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
tracehook: force signal_pending()
authorRoland McGrath <roland@redhat.com>
Sat, 26 Jul 2008 02:45:55 +0000 (19:45 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 26 Jul 2008 19:00:09 +0000 (12:00 -0700)
commitb787f7ba677840da16a2228c16571ce8a1fcb799
treeb1838c4ae7f38c00efc2375871a255275500f245
parent2b2a1ff64afbadac842bbc58c5166962cf4f7664
tracehook: force signal_pending()

This defines a new hook tracehook_force_sigpending() that lets tracing
code decide to force TIF_SIGPENDING on in recalc_sigpending().

This is not used yet, so it compiles away to nothing for now.  It lays the
groundwork for new tracing code that can interrupt a task synthetically
without actually sending a signal.

Signed-off-by: Roland McGrath <roland@redhat.com>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Reviewed-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/tracehook.h
kernel/signal.c