Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp400005lqb; Thu, 14 Mar 2024 14:46:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWYUMoL+M+SlvBjkbSdyHjRhUiW7GQECnroflqUvJy6ico8ZE2dSmoGCTV/EPqR93ukRxUF27dv3jQ4icaCIVdjeOdBy0FFJneUgtF/aQ== X-Google-Smtp-Source: AGHT+IGWEQ3cPOr3VwNrrBH26fNPBnZeOlAVCLWOBn9Duyr80obxgkzC3g597dDsVCFJS4fP01TS X-Received: by 2002:a05:6358:7201:b0:17b:5b6a:de9d with SMTP id h1-20020a056358720100b0017b5b6ade9dmr3714454rwa.23.1710452796801; Thu, 14 Mar 2024 14:46:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710452796; cv=pass; d=google.com; s=arc-20160816; b=jgbuGka/uVwEOAXEpxzpsU0I7pvXHQrEMlNH0WXKT1ZT7hh1hB2dOfdKiV3yYpDXV4 VLosbLxYsYvRyryFoerimItrGlvXZEwZEotwvUl3xk6dlgYShui9mcEi4q5A+XoQVNKE kD62uWUJ7Tg2H8hkagYqXN0kDWZ16WtuMEWncr1Y1MpRgk7WGDNi4R/2lvLt6eXjORjs YbQbZT8LmSpnP+zy1ns0+4SB3vvtMgS7Jkt5ahkARjZp2EK9YciZYYSnyfpd1ZMUVt/8 CuFc530pTD3/WODYfGfXd7Mw5rXBydc4EVOqinWNySg2U43ivZOO0nS7MDYiiZTki/VU Z5mA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=PprT+9G2qiPTHVszP4tcyhM/MRUoae48dQkD/fsg+Ho=; fh=NzH+LoOp8MDmrWw70cMkAoJljH5dnessOYLS+71huVQ=; b=i+BBL8Y4dVuko2yiYvJ56OzpFnaKa4qXyhHIXJu9RgP9SyjlVfq03wWOCR1hWHI9ca H2WiGFZVhO39h5e+QwUy3s/BWoLZUBbcQ4PKhrR3TkdQmR6xXD6Fnn9PHzwdlKSCohLv rPnx6Rli76xGEfPs9gEkK45frAQSZjZBG8Rsnp7jUEm/0aMjT0gL9ATdk6KFmkGqe9J+ JC4PVuCVGDOXyFG6eOckkBZVBEzDBVHPvORyTmYpbkbrovu60sNbWKkfXPtxRmEF0GSJ dQ9P7p5lsJXpf3uL7U0RrFB4s3p4qRkjpPKmSQ7Cernkx7dbVS/2BCbaDFbXnbgzG7Yg xJsg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eyZOpcKj; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-103809-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103809-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id g15-20020a63200f000000b005bd27be66e1si1255949pgg.719.2024.03.14.14.46.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Mar 2024 14:46:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-103809-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eyZOpcKj; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-103809-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103809-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 7865FB21EEF for ; Thu, 14 Mar 2024 21:46:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 10BEC768ED; Thu, 14 Mar 2024 21:46:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="eyZOpcKj" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 27AF47353C; Thu, 14 Mar 2024 21:46:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710452785; cv=none; b=p5NHG2XTCmoeebV0jWKcJynkrmrgdzTX7t6ykWidLkFxAbg3hyLL2tbiewmcYxNqp4XxsqU3dBS/d6symJ9xDml3+iNdxYQrg3qM9h2Kvwl25WEFRJXxO834oHW9WZON2hXlQst3yS63T7QRoNQHWbb29KArnOJvh/Bv2H5zAMQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710452785; c=relaxed/simple; bh=K5BilDS17Npbpc53Aqd9Cf2INMeiMyEyXLe6XjTz3M4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=cBcJnb822U2Y0yXLRM6g74dqq7rgQQ33H+yjc/bTxDo4X8E/EC48B24Bm5HKyIc45GqztmdCilEjdmGi3dR3wEjhj/HeKsR+gy6htpp1akAGh/pGvGYK6zSEhD7Ma+a4PUhxvrGsaux36I2+TtH812o+6YaTuQEzwUWTgeQs/cs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=eyZOpcKj; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 22E7AC433C7; Thu, 14 Mar 2024 21:46:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710452784; bh=K5BilDS17Npbpc53Aqd9Cf2INMeiMyEyXLe6XjTz3M4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=eyZOpcKjip1OkLA5JpYNrlgh9e4GrDPk4POBs7RKVL9p6opHxyFSFGIbL0MeXk7Bf OQPksKWwuIJco5ESo6+j6msYm3+KBbRc5c+xvWWYOhZBtgwftKYPu0J4MFjZ6cpTmV FW3W/GtCV6sTh5czOjTUjU3glMfJc3BJcoVVTtLAWFHDzwVjzycCiL8Ci5NvjKXDgC FdUYXSDK8+TWFA12NtcT7/gUAWHLzAZa28nxnCY8OJqomhxyMqmD1I+CIJXMaO/pUY PJjuqeZ7BSjZqoN4jJ9IPU6ZPO4Tm1RoUecsDth+pLDx+oHpg6v+JGl0U+5LJi25nh AUCH9QxERI0kQ== Date: Thu, 14 Mar 2024 18:46:21 -0300 From: Arnaldo Carvalho de Melo To: Sebastian Andrzej Siewior Cc: Marco Elver , Vince Weaver , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, Adrian Hunter , Alexander Shishkin , Ian Rogers , Ingo Molnar , Jiri Olsa , Mark Rutland , Namhyung Kim , Peter Zijlstra , Thomas Gleixner Subject: Re: [PATCH v2 0/4] perf: Make SIGTRAP and __perf_pending_irq() work on RT. Message-ID: References: <20240312180814.3373778-1-bigeasy@linutronix.de> <20240314091033.woaK8h83@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Thu, Mar 14, 2024 at 06:22:38PM -0300, Arnaldo Carvalho de Melo wrote: > On Thu, Mar 14, 2024 at 11:34:39AM -0300, Arnaldo Carvalho de Melo wrote: > > On Thu, Mar 14, 2024 at 10:10:33AM +0100, Sebastian Andrzej Siewior wrote: > > > On 2024-03-13 17:14:25 [-0300], Arnaldo Carvalho de Melo wrote: > > > > > tldr; No dmesg activity, no kernel splats, most tests passed, nothing > > > > > noticeable when running with/without the patch with Vince's regression > > > > > tests. So: > > > > > > Tested-by: Arnaldo Carvalho de Melo > > > > > Reported-by: Arnaldo Carvalho de Melo > > > > > Too quick, now I'm testing it on top of torvalds/master, no PREEMPT_RT. > > > > Just to be clear: You revert your Tested-by because now you test this on > > > torvalds/master but not because you reported a regression which I > > > missed. > > > You got it right. No regressions, the code is good, I just need to test > > it a bit further, with torvalds/master, without PREEMPT_RT. > > Tests performed, no regressions detected, same behaviour when killing > the remove_on_exec selftests midway: > [acme@nine linux]$ uname -a > Linux nine 6.8.0-rc7.sebastian-rt6+ #2 SMP PREEMPT_RT Tue Mar 12 18:01:31 -03 2024 x86_64 x86_64 x86_64 GNU/Linux Re-reading this I noticed I really retested with the rt kernel, d0h, so here it goes again: [acme@nine ~]$ uname -r 6.8.0.sigtrapfix+ [acme@nine ~]$ set -o vi [acme@nine ~]$ perf test sigtrap 68: Sigtrap : Ok [acme@nine ~]$ cd ~acme/git/linux [acme@nine linux]$ cd tools/testing/selftests/perf_events && make make: Nothing to be done for 'all'. [acme@nine perf_events]$ for x in {0..100}; do (./remove_on_exec &); done ok 4 remove_on_exec.exec_stress # PASSED: 4 / 4 tests passed. # Totals: pass:4 fail:0 xfail:0 xpass:0 skip:0 error:0 # OK remove_on_exec.exec_stress ok 4 remove_on_exec.exec_stress # PASSED: 4 / 4 tests passed. # Totals: pass:4 fail:0 xfail:0 xpass:0 skip:0 error:0 # OK remove_on_exec.exec_stress ok 4 remove_on_exec.exec_stress # PASSED: 4 / 4 tests passed. # Totals: pass:4 fail:0 xfail:0 xpass:0 skip:0 error:0 [acme@nine perf_events]$ So despite this mistake all is well, torvalds/master + your patchkit seems ok. Sorry for the noise :-\ - Arnaldo