Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp646068rwb; Thu, 18 Aug 2022 09:40:18 -0700 (PDT) X-Google-Smtp-Source: AA6agR55cYQVW4xcbscxFE8m6Dh+PsVEUrWI7TQu75hYi6iAjV0XKMxcFF63MO/U+vgvEd1Qmj04 X-Received: by 2002:aa7:9692:0:b0:52e:d96d:ee4c with SMTP id f18-20020aa79692000000b0052ed96dee4cmr3686854pfk.48.1660840818302; Thu, 18 Aug 2022 09:40:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660840818; cv=none; d=google.com; s=arc-20160816; b=g2pDRqFFINgjXOq7lfrZPoY8B4yFP6zmPY/Zut/4XAbW4e0BGVlRx5xP/4e/rykUDB vJb5HTX+pDReTx5z4VGOqyQ35cfXwO5Q/oJ3gfBDxizgNJxa4YcimxAKJjZt9wAmcUMM 6G46AZxG9tvKZKWLCYwixPV9XT5dPMu42Tx8z7jfKhtS21owQhKmyudpo4R6cpAVXBfL dspWVM5ZGrmXc1B11FxJjiXq0heCkkSp6T8LWwJgW9fBPehWk/LakWBxxzz9L8Ykrj5J w9CoYlUC2YVH5pS92JIrwWAa4Gp+XrUvT2JMlzSncHRYWxPuHL9eM9DmaJJhs166TPC+ yibQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature :dkim-signature:date; bh=WSEnY9Oyyc/p4us4LuxFbzYZ43B4fny9FnSWnDSoyqc=; b=ujMAQA5vdG1wTUMRsQt8msEmWFztCLnoFaqpplRfcwyq/vrtIOgVJAX5/FxXahqalT vAT/a2wOq1t7/edw+wn61q6F1P+jhcfgWjVy1kgdhwvC8mafOwSwrPCGkvzg3BhqIjoZ ve47fE01jC/QPuMYvpKFyjL3dmMpcCMvAWTybtXWkeJsJ2KwxC/8qwfOY7/jI0ZJPJWm Am7AxCsHpunneXDD9vf5D9QZ/162mlx4Hf6460PCMru7hQCjv3bTeomPCQYsznNC5YM5 p2hHv1X83xOVUN5lkV9UTIVdyu3uftV7LKaaavdAM/T7S4t88JUzgWpsO9bA84RdDFbv 2FqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=oZeZEF4r; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=frcnYRt+; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cm2-20020a17090afa0200b001f27babb6fbsi1594461pjb.56.2022.08.18.09.40.06; Thu, 18 Aug 2022 09:40:18 -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=@linutronix.de header.s=2020 header.b=oZeZEF4r; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=frcnYRt+; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343730AbiHRQIY (ORCPT + 99 others); Thu, 18 Aug 2022 12:08:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233295AbiHRQIV (ORCPT ); Thu, 18 Aug 2022 12:08:21 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8621764C2; Thu, 18 Aug 2022 09:08:19 -0700 (PDT) Date: Thu, 18 Aug 2022 18:08:16 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1660838898; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=WSEnY9Oyyc/p4us4LuxFbzYZ43B4fny9FnSWnDSoyqc=; b=oZeZEF4rcv1sm1g9R7AUQW4/GoeFNvk+H4Nbb8oBcZ6DixvGOm9627O5/LtVGhVpqG5jl6 pHo2zOIm1BC5jvbWEmCGYukgr/ukL4Dqmgh1UjJxSLXQ/GTK7JnauJlfRZxfDCSYHBsTdi DjqbmXgrxYGBP/jkfuzeI69cgKFlshbyUMcrv7dBbbxaoQ4lhliI+5rwNEwjgjn2BQ7tdP Ig0LD9Hj9mQTVOEsVc0LlmIXNwkSZhH9A9EqwXOTm0SpKnPxULTwE79k56F+InhGM42rlo KbXvFIjLvtiDx/SMJKPVasl1dOzcdUUCYh/+HodsaMZegKZuwmjZyHt0HVcDmg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1660838898; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=WSEnY9Oyyc/p4us4LuxFbzYZ43B4fny9FnSWnDSoyqc=; b=frcnYRt+bgC2hvQ50FFQr9kw8qXuVYqCAk4HBBQep5msKjngWfB641mmvDqndJx33Wju9g 8WOCRprK+BZ6YzAg== From: Sebastian Andrzej Siewior To: Joe Korty 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: References: <20220624184431.GA4386@zipoli.concurrent-rt.com> <20220626123019.GA51149@zipoli.concurrent-rt.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220626123019.GA51149@zipoli.concurrent-rt.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 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? > Regards, > Joe Sebastian