Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp648415rwb; Thu, 18 Aug 2022 09:42:48 -0700 (PDT) X-Google-Smtp-Source: AA6agR4ZZzhK/OXkZRfhVI/nTatIpdbpUyEwbuWxVfJFlmhJB0k5316onNqDftOzFsYeYOHcUQ35 X-Received: by 2002:a17:903:30c9:b0:172:aba2:532c with SMTP id s9-20020a17090330c900b00172aba2532cmr3297804plc.118.1660840968064; Thu, 18 Aug 2022 09:42:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1660840968; cv=pass; d=google.com; s=arc-20160816; b=zTPA5kTp51WuJ22uB1rfRpy8PRKglMtitcfLpmivPgU42GMiVTqnA8pgga1CtZCVcF qtG6NlP5pMoyDfW3jv0iO82I/F4RQ5byAhl8HxhlzK/CrLl3EMo7r6pKmMG9OZ2169K3 b7DCbjn4jnDUNMFAODTk3AcVchiw+GKutRTJ7aYF7OcTJ8hRYUzpxe4J3P7ende0sDkA V2ReRB6ifvINFBwRArsI3t5ukMVJoEC7WyW6AQRzVr8xjHKFqBvYLhgN3TG6wHZXnbim K5m1tmZ5XWhCskhBLKuaHSd2RGtVHRexk5iJVCzLqOCW/YFjm5LE2vPrXFUqdU+/Gi9O fy6w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:in-reply-to :content-disposition:references:reply-to:message-id:subject:cc:to :from:date:dkim-signature; bh=h9LWv6HPjVdFh+wnS+o5wQZYz+pLVck8T09pD1ZnMkk=; b=oDn2Szu2jXguwpTSQ9Kma2oWPEs57YsOYgpDfdbUbVsKCfXXXEBW7pE+rKQ9bc8lZ+ rUUTKXPdATF2GSzYQ+SYGc7AEJrjgsmQTZLc+hHOj4JIi9WNDcPMPHGVA/j+678HVECY /b51QPitTesW73/0CKtEBIXjYTCdpziWGpat6tv0zDWsBooaTx+ystRDJ+JAWoCgODBe XULRpJeY+sjnRqmhZeXTFbpd7Y1Cra9Gd2DYMPz0lpQYgyiu26XTyayARKfQKXJDGEoq 9PdHYnP8W10EKdsTTmdCjah6ZK2U+I3pEMZG5/MD2y4m9rZIaVUqaDtS3TUJ8BQEv2yv LS6g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bksv.onmicrosoft.com header.s=selector1-bksv-onmicrosoft-com header.b=Q40xXHqn; arc=pass (i=1 spf=pass spfdomain=concurrent-rt.com dkim=pass dkdomain=concurrent-rt.com dmarc=pass fromdomain=concurrent-rt.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=concurrent-rt.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s5-20020a63e805000000b0041be5a0c345si1745212pgh.52.2022.08.18.09.42.34; Thu, 18 Aug 2022 09:42:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bksv.onmicrosoft.com header.s=selector1-bksv-onmicrosoft-com header.b=Q40xXHqn; arc=pass (i=1 spf=pass spfdomain=concurrent-rt.com dkim=pass dkdomain=concurrent-rt.com dmarc=pass fromdomain=concurrent-rt.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=concurrent-rt.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344757AbiHRQbr (ORCPT + 99 others); Thu, 18 Aug 2022 12:31:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344776AbiHRQbn (ORCPT ); Thu, 18 Aug 2022 12:31:43 -0400 Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr150118.outbound.protection.outlook.com [40.107.15.118]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 995E96556A; Thu, 18 Aug 2022 09:31:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VcubtjUc5sEkIlc4eF+Y2Fkd4dSZJA+PQ/q7atfVwG7NnF8P9xu0XL6QLe1c5oy3xEIP3zyOGR48DUNqor1KBqwgaArEhybxZDDNPwS8m8peVkRSemXfJrGBZ/fl0m5FJ3XNl584iY0ISxDjjGH3f7IYCpKRIu9CSXTcj8BGH31tm9WSz33HIT6fWvOo1FsGRMdFrAPD+IbsPqUy43f2lVWVRNd2j9YVzkWOLH7aN9uLysCqTalJQ+0mp5IE/J93bw8HHSaqVqV4t1bqpEHRuYQh081HT9IHeILuxmfU09G9a8/SsSAXEENa1nJCFIvkMencmXEpkeo9JdYV8QEXqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=h9LWv6HPjVdFh+wnS+o5wQZYz+pLVck8T09pD1ZnMkk=; b=D3jDrKyM6MlzoLT3D1XxfMqWSEpTA2kFvbUn21wnM8O0t14ia+O1VUgAi0IUwzvfDqvXzUzxaSv3nBEQhM0q0kjP5l0jTr+uXYQG5iWDgHTExliuCepi2Wj0Y2kgXbrIIdY04ZxLNaBguJK35qcIlYdGFPTywlVgxQVa0IQHlVB9hdRTBZak6bQTEXORINX2WjjZlbeeqZC+OTFH+6zp7RSDHfeM4Oioa6pQ9RyIsrG+E0tEOx4sNVVtys82aiEP1Al33b5AhtVVanEinOUFVI/taVF8oHsROe6jqFR3TmRIwry/N1Uhu2lkcEELjdbv/58V68opElcbfRB4SzTt3Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=concurrent-rt.com; dmarc=pass action=none header.from=concurrent-rt.com; dkim=pass header.d=concurrent-rt.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bksv.onmicrosoft.com; s=selector1-bksv-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=h9LWv6HPjVdFh+wnS+o5wQZYz+pLVck8T09pD1ZnMkk=; b=Q40xXHqn1gzjxLcINC4X/RY1lOqVAgORBVnf3HK0+T39ve2eGIVFHXPk61pTJJ57X4bGTRjYXhHOj6auuDYpJqqUZtLrf2cY3bEdyusEgIRQNpgIIRloMTS8ReAgSxA8TNYjqqmhYmnHKHtnx9ELDOVnalyWf/VLJeoBgCmdztM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=concurrent-rt.com; Received: from VI1PR09MB3582.eurprd09.prod.outlook.com (2603:10a6:803:13b::17) by AS8PR09MB4568.eurprd09.prod.outlook.com (2603:10a6:20b:29a::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5546.16; Thu, 18 Aug 2022 16:31:34 +0000 Received: from VI1PR09MB3582.eurprd09.prod.outlook.com ([fe80::c5d5:f297:2a62:a4df]) by VI1PR09MB3582.eurprd09.prod.outlook.com ([fe80::c5d5:f297:2a62:a4df%6]) with mapi id 15.20.5525.015; Thu, 18 Aug 2022 16:31:33 +0000 Date: Thu, 18 Aug 2022 12:31:26 -0400 From: Joe Korty To: Sebastian Andrzej Siewior Cc: Mark Gross , "Luis Claudio R. Goncalves" , LKML , Linux RT users , Thomas Gleixner , Steven Rostedt Subject: Re: [RT BUG] Mismatched get_uid/free_uid usage in signals in some rts (2nd try) Message-ID: <20220818163126.GA47319@zipoli.concurrent-rt.com> Reply-To: Joe Korty References: <20220624184431.GA4386@zipoli.concurrent-rt.com> <20220626123019.GA51149@zipoli.concurrent-rt.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-ClientProxiedBy: BN0PR04CA0044.namprd04.prod.outlook.com (2603:10b6:408:e8::19) To VI1PR09MB3582.eurprd09.prod.outlook.com (2603:10a6:803:13b::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 28168cee-0670-4abb-6bca-08da81371d17 X-MS-TrafficTypeDiagnostic: AS8PR09MB4568:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: YpwyRpLh9Y5jzauBbQGebvVVRXU6GNpw0MItOCF0wx5Otl4tIjWtV+FmnxjqKZmvjSrYuKOfIjoSW29xeibIl8qRUmBv+uJjFD9GMn6R69aKIvB2GgqSM+2Aaba3HGJ8HFOXbpaGZn7A5PAGYpcjVmQgTGF3QbUfDYcOW0w9p5yESRcgq6RkK+6Rv+a9SQwmqcbIwD2/EFvJjxrPNJrr/5kD/RtXkC8JcdkYfuZskwxZDf+pqXByCLUsZCoJktaG3Fs2kV/6pD5Oz2n1T2t3E3Brgp/bnK8wsAkezBnlJhhZI9QiaHKXisHmk9weBvKH8m/3jn6O2tGL5tfrPvFWPEenUExywEmAwU5f7y3NMRno5FysIhFGyQl5inmH5X4/IJFYBQYWedAPQssHGfKTB0wvV6WOsS76pNZnOjyw2yBnP4xGlpGxd/Fnp6RLGADzZFW0peFBXlaBtVK90EhZdNIdzV/6QsEpRXoTpOLaeYDhnpr44Dqrj4LG1AUi4OLM6+lJ4QR7ut8rUHpQ7Lzs9VIp8vFwUrV+O0Yq1o1BetWRoTYCsdYQHa6lGnNxjwuGl7clrx3IASODtY5wDTWqZPZw/pnL9dRGvWbEbqV4ZwbhOou7JpmKB7b/yp0no6Hyl3hJUOdAO96oQZg5zwzY04DjjRikOOqPHNgt09GttkobPq4Vq62zYtfgJ8aWl6UqDWCji4GCRMepkaUt0jvbw3H0maSili85T9QdivO86powAK2cNEDCjZ9elrvXnran X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR09MB3582.eurprd09.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(39860400002)(136003)(396003)(346002)(376002)(366004)(83380400001)(26005)(6506007)(52116002)(6512007)(1076003)(53546011)(186003)(38100700002)(38350700002)(8936002)(4744005)(44832011)(5660300002)(4326008)(8676002)(66946007)(66556008)(66476007)(3450700001)(2906002)(478600001)(6486002)(6666004)(41300700001)(316002)(54906003)(6916009)(33656002)(86362001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?VMJajeL/kVDKrfbXtgf/PYrNkMX3JBggxU6l1nLUJh5aeATW0NryhszWsfsc?= =?us-ascii?Q?fGGMcfwOIV5zdy2jPhPQc0m5qJKMYhaOxCBPF+7Vilivjw0o076T9eAjM6b4?= =?us-ascii?Q?ysx2WUCnJBVf41fqr1sMPc7yb56q4aN+2uWkAWAKlGCq2Fq57FKauvmnv7g4?= =?us-ascii?Q?nWPNsXZOlpqQ0uY/Isp4K3Z07LzLaOvpBWCC31kDSQrB0z4H947BH/kF8Mlf?= =?us-ascii?Q?Pk9tvSTyN/34fGdXX0yezpU5gjrkBOwZGQ0frHFVsb1P6Ldhqtq+Vl90xH0r?= =?us-ascii?Q?YmvVp7Ym6AVTkv1xUUVmu+fp3nnF45+B892NbsZHhmqlo906DK5HeuAjHAHG?= =?us-ascii?Q?zVj54iKj4GzAMe/LjzhFeHzeYvOGALNG4JY1yN/Kmfl/hj09VKlapq5lGM4f?= =?us-ascii?Q?vI1Z5V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z68GZlC?= =?us-ascii?Q?kZZ8hcrg+x1sSZ4GhZhYlOxqjn0GMgS8V6G8FX1mPUNjGg3qghNSGzl8v/yU?= =?us-ascii?Q?oJDFlfh9ymk0mSqDyVCSPO2IGnTkLeh5zmW9dmHiEcv4JXbm2adQhnxfzprt?= =?us-ascii?Q?QF5g3Ko1Sv/O47W5LTFAPPf+duqqNAMNURtDwR162y9JYi9a8W63HeM1n+h3?= =?us-ascii?Q?GDgtJkM8KpyT6GbH15XEthiCoC9x/3857CsL/tH+DFSIw3LUHOeCtSpiW1Hz?= =?us-ascii?Q?JVJQqRrZBIRA6ZmZFLcEgWJ6kREJE58Gsl971Nscv5wZWbBIAdxZsQa93YuK?= =?us-ascii?Q?WA=3D=3D?= X-OriginatorOrg: concurrent-rt.com X-MS-Exchange-CrossTenant-Network-Message-Id: 28168cee-0670-4abb-6bca-08da81371d17 X-MS-Exchange-CrossTenant-AuthSource: VI1PR09MB3582.eurprd09.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Aug 2022 16:31:33.8710 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 6cce74a3-3975-45e0-9893-b072988b30b6 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: dUNTd8eYgdHe+RA/Q6HIJqYm14leMnMPSi4+PjFMjgPWWs2Bp+Lp1lmTIp5PiSuh0EFGO+ofwyvAfLAfRlPEA2R+5Xn6pExu20gznP4P05k= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR09MB4568 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 18, 2022 at 06:08:16PM +0200, Sebastian Andrzej Siewior wrote: > On 2022-06-26 08:30:19 [-0400], Joe Korty wrote: > > Hi Mark, > > Absent an actual test of your port of a99e09659e6c to 4.9-rt, I just > > eye-verified that the change it makes to sigqueue_free_current looks > > correct. In detail, > > > > matches the same change the Linus patch makes to __sigqueue_free (ie, > > to the routine that sigqueue_free_current is a copy of). > > > > That the new variable 'up', in sigqueue_free_current, is being used > > in the patch (some variants of this fix do not have 'up'), and that > > variable is present in 4.9's version of sigqueue_free_current. > > > > That atomic_dec_and_test, rather than the refcounting version of that > > some function, is being used (some versions of this patch are refcounted > > instead). > > What is the status here? Is this still needed? Hi Sebastian, I just verified that 4.9.319-rt195 has this fix. Regards, Joe