Re: [PATCH 2/2] x86 TS_RESTORE_SIGMASK

From: Ingo Molnar
Date: Mon Mar 31 2008 - 09:01:35 EST



* Roland McGrath <roland@xxxxxxxxxx> 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@xxxxxxxxxx>
> ---
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/