lkml.org 
[lkml]   [2008]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] x86 TS_RESTORE_SIGMASK

* 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


\
 
 \ /
  Last update: 2008-03-31 15:03    [W:1.652 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site