Re: [PATCH 2/2] x86 TS_RESTORE_SIGMASK

Ingo Molnar
2008-03-31T13:01:06Z

* Roland McGrath <roland@redhat.com> wrote:

> Replace TIF_RESTORE_SIGMASK with TS_RESTORE_SIGMASK and define our own
> set_restore_sigmask() function. This saves the costly SMP-safe
> set_bit operation, which we do not need for the sigmask flag since
> TIF_SIGPENDING always has to be set too.
>
> Signed-off-by: Roland McGrath <roland@redhat.com>
> ---
> arch/x86/ia32/ia32_signal.c | 2 +-
> arch/x86/kernel/signal_32.c | 19 ++++++++++---------
> arch/x86/kernel/signal_64.c | 16 +++++++++-------
> include/asm-x86/thread_info_32.h | 13 +++++++++++--
> include/asm-x86/thread_info_64.h | 13 +++++++++++--
> 5 files changed, 42 insertions(+), 21 deletions(-)

the x86 bits look nice - but i guess this all wants to go into 2.6.26
via -mm (or linux-next), due to its cross-arch nature?

Ingo