Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757029Ab2EJP6p (ORCPT ); Thu, 10 May 2012 11:58:45 -0400 Received: from mail-wi0-f170.google.com ([209.85.212.170]:44289 "EHLO mail-wi0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756305Ab2EJP6n (ORCPT ); Thu, 10 May 2012 11:58:43 -0400 MIME-Version: 1.0 In-Reply-To: References: <4FAAEB37.1080001@siemens.com> <4FABBCE4.3050503@siemens.com> From: Linus Torvalds Date: Thu, 10 May 2012 08:58:21 -0700 X-Google-Sender-Auth: 3tuSdf-EPT0Y825dOTVJBoFlubA Message-ID: Subject: Re: [PATCH v2] compat: Fix RT signal mask corruption via sigprocmask To: Jan Kiszka Cc: Linux Kernel Mailing List , "linux-arch@vger.kernel.org" , Ingo Molnar , Thomas Gleixner , "H. Peter Anvin" , Andrew Morton , Michael Tokarev , Anthony Liguori , Kevin Wolf Content-Type: multipart/mixed; boundary=f46d041824ee9e606704bfb0b1ce Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2587 Lines: 48 --f46d041824ee9e606704bfb0b1ce Content-Type: text/plain; charset=ISO-8859-1 On Thu, May 10, 2012 at 8:44 AM, Linus Torvalds wrote: > > I think I'll just edit your patch directly, no need to send me a new version. Ok, just FYI, this is the incremental diff I ended up with. I'll commit it as this, but I'm sending it out for people to verify before I do. Although just from looking at the code generation, it really does just change those four instructions that do a mask to a single 'movl', so I think it's pretty safe even though I haven't tested it. Linus --f46d041824ee9e606704bfb0b1ce Content-Type: application/octet-stream; name="patch.diff" Content-Disposition: attachment; filename="patch.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_h2204h510 IGtlcm5lbC9jb21wYXQuYyB8ICAgMTMgKysrKysrKysrKy0tLQogMSBmaWxlIGNoYW5nZWQsIDEw IGluc2VydGlvbnMoKyksIDMgZGVsZXRpb25zKC0pCgpkaWZmIC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Nr ZWQuc2lnWzBdICY9Ci0JCQkJfigob2xkX3NpZ3NldF90KShjb21wYXRfb2xkX3NpZ3NldF90KS0x KTsKLQkJCW5ld19ibG9ja2VkLnNpZ1swXSB8PSBuZXdfc2V0OworCQkJY29tcGF0X3NpZ19zZXRt YXNrKCZuZXdfYmxvY2tlZCwgbmV3X3NldCk7CiAJCQlicmVhazsKIAkJZGVmYXVsdDoKIAkJCXJl dHVybiAtRUlOVkFMOwo= --f46d041824ee9e606704bfb0b1ce-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/