Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1742532lql; Wed, 13 Mar 2024 07:06:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUCjBTHsrNz2wYYzO53Cp03N7/fBactS9YiXbCQXS2+F0ca2ejcQi6dLa0nvR/Ia97sOClsHew/Um0TfjI+VJ18kYuug/CaeyW/EAu4dg== X-Google-Smtp-Source: AGHT+IEV+hkK7Zu8PFI8U6XCJXypnKGFrt91zLpM78OTKp4Eqkw0MGj/RsW/hlvBlC09k2sIlySH X-Received: by 2002:ae9:e411:0:b0:788:7661:642a with SMTP id q17-20020ae9e411000000b007887661642amr4637449qkc.43.1710338818732; Wed, 13 Mar 2024 07:06:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710338818; cv=pass; d=google.com; s=arc-20160816; b=BFONiOy3HyyIUzp8sjW5cu9OegfuzWYNFccKrZDw7qDd2syvpKj1Mg3jrEENYN8Pwr L7KO4nI76BFadLxCW1yaiOnqy95hgCFvertmtBhlFV7yhkxHltp0MdTgfmKuq3Bjz1Qm koC7RklC4GlIfBrFQ4eGxBsCdN8vInKNbpHy0mk5xqi2ZA6M1c+6eUHd1msyyElvCvC8 Qw/HdadXP/GgjJysfN4gK/ZEYLx6MdE6pV/xVw6nXf9XhHdXqqYKlTTpRq0sLTi6n5S1 cjDIT1exwRsP1zIXyN3CuSc5Jj8wrxEWjrSBV5rdFaqABAsYgkRaHemtJ4kBqB/LrS78 6ICQ== 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=ewW5K1X4diEsrNiRkkBaYeZJL9OV6ZGokBTnBeQTYzc=; fh=XdQ/aYabBLEiaG4fDAFF3DyZUg0ZNu/oVwATBKjyXBc=; b=nOWqj1N7FPnTEn0zFqp34OJDftclDlwVXnUjgwQcl3+ZP8ayTVN/+BiRAaWR2B/T/W vI25f2ulG57KxLRMe6TumybN+T1yXyEY5W613e1m2Jmz03dWd3PtDVz1BkmWhF6ESSs4 0iqq11v03yPrezX5ib+zRKWj/49YFHxUqbcAYlX1+T+NitFF2U4AwKsZO9JjJVmcoeef FoZpyEkIGxJIr9n+wKpC6jWgziP3NkliySpLl5jcxRGFSK/dpm8dnEmlmq+4xIllbIp3 VL3keM/V/LoYcGO/mHimrMynb5XOzFiPH2mLE0OPS5CSQ2XYp4Ros8dbD1+IhZq8I2Az 5oiQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=d2rHGejP; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-101586-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-101586-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id br14-20020a05620a460e00b00789cf0ae6e6si629219qkb.53.2024.03.13.07.06.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 07:06:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-101586-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=d2rHGejP; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-101586-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-101586-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 508A41C21393 for ; Wed, 13 Mar 2024 14:06:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 37D8D46425; Wed, 13 Mar 2024 14:06:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="d2rHGejP" 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 55DB744369; Wed, 13 Mar 2024 14:06:50 +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=1710338810; cv=none; b=dEX/NjBy6M8D+FFLFjrhQs/Ggj4irvsZuuxcy3RkvD6AIqNnEs/So472H5BVmHE/roTve7RaSeDRppEAbuYR6pM2GZ2HWngED+eWMPmYWjZS0ofJNTh/VWIuvFNPeuXTYaKw4thn36KffrM3gwjrEK/QDjUuLyOjexpvOQ35Z1A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710338810; c=relaxed/simple; bh=0jlutHs2yvu1tTSpSrKgQrXzPWCFfYo1yaC03lAmRJs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=hAO3XgaoNVBIVSWKYszKP3jRe4SJCn1mTRv/1VMnNhRyEUutCQWzJQdg7RTC6uVVrcOhW2ZWpzGQSEJqBzpdkG7mQz7BFfI8VGjeJbTs6Vm9E0HBLMA8yEDiSA+9SRQwxO7j1Y1mC6D6zmEiwNdoMjRWC7OuCLxl6syLjH91NC0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=d2rHGejP; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 59E71C433F1; Wed, 13 Mar 2024 14:06:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710338809; bh=0jlutHs2yvu1tTSpSrKgQrXzPWCFfYo1yaC03lAmRJs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=d2rHGejPC6zUe43HEHmolXuF+RGCmZkV3WlO/ezoNnheDMK4Ru0SNxL7xADNon3FG BYbtnxq1u0jdpg07fV4A0ULudqsvsuttjFGMwLDN0JAjIAjfi41XEjDfFpAnSQLnGz 79VUBQ/GTfykN4HLG8lpZI9rrbIZJHWf0B+98jqX633EsbGzNo+XU2gTyETO1Gl0fu cpb/ZIirhxyV6+GC0B5yiM3T/HR6yGQuMZ6X/7x5j8Kn7WUwUMv5YhgDC48V6c5pw8 wmCwVbmXMZILmfrEq4/9QQABTyq8uEwHWKnMzBtBSlMTUVLei7SPQg7M21LZ5lHPtZ uZ5l9by1bouIw== Date: Wed, 13 Mar 2024 11:06:46 -0300 From: Arnaldo Carvalho de Melo To: Sebastian Andrzej Siewior Cc: linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, Adrian Hunter , Alexander Shishkin , Ian Rogers , Ingo Molnar , Jiri Olsa , Marco Elver , 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> <20240313081303.DClwQrvb@linutronix.de> <20240313134645.bO-XyxAM@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: <20240313134645.bO-XyxAM@linutronix.de> On Wed, Mar 13, 2024 at 02:46:45PM +0100, Sebastian Andrzej Siewior wrote: > On 2024-03-13 10:28:41 [-0300], Arnaldo Carvalho de Melo wrote: > > > One part I don't get: did you let it run or did you kill it? > > > > If I let them run they will finish and exit, no exec_child remains. > > > > If I instead try to stop the loop that goes on forking the 100 of them, > > then the exec_child remain spinning. > > Okay. So that problem only exists if you intervene. And you can > reproduce this odd behaviour with my patches but not without them, > right? See the next message, I managed to reproduce that behaviour in a non-RT kernel as well. - Arnaldo