From mboxrd@z Thu Jan 1 00:00:00 1970 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 5C79051009; Tue, 27 Feb 2024 19:17:14 +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=1709061434; cv=none; b=QI3W3/frX94iRZgebjRIjApJ0Fgmy50bwbsIuZzWpPwUYjBBkL4+FQTKGDorjWWpfg85TNuzfagYhnx0NE8FAZq1b/7tuwzEyBSpLEATdBTBmvI3kfOVVZoH/GtFVSogSgCptFSzq90gjDrgajx8sgQ9QB8d1SFbvPNFFWVMZwY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709061434; c=relaxed/simple; bh=qBzTwOoOVdZGvWfwhMIPBvViZVyBZ+zCsfhtr7smb0M=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=sLLsEVwvwpTGWAqf+z+jM2d0z/wbJIU+qNwKWV4agp2c7JkBlajjYrLe2AAhhX6VTOztKIVysD6F95OzoSVAjZiSXNNynenVkEMRPp5mrQVKA9aCHHng5v8ZJYiScTPWoLTMF6ckfFRwkpsxh6wLYf+WcybsCeJM3dOfLe1xb+U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=P5WhXT9C; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="P5WhXT9C" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9F78BC433C7; Tue, 27 Feb 2024 19:17:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709061434; bh=qBzTwOoOVdZGvWfwhMIPBvViZVyBZ+zCsfhtr7smb0M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=P5WhXT9C66TbTBGpzsx6WCAtyUeG0AqvPJZG1FXMdh+28LuTBL+zeb3vuOjb7KVUx HYUZcIM9VtpWtbfBX+XtyT6UE7fdzS/+BhrT4DXCd2qS/syxgJ5ZnrJOYw3GDRLcCI oBEPIm7OgdtStxzhlyU3Z8k+xCkyPGhM2HOfsOGTHfVPVqykWYawWdCY2vcsGsbS4Z EWSI5eEwdDTq1e1CuFUtUcZRwblg9/348rTaXYmhzEyk8MsIRbCSdcNAvDlmgg8nMH m7RGA7DsDXd4fX5u0f9AaOGJfm9mK+T7mhh629m0eQ3njU6Oucjfm3oJMHJB/2NEsv N57HWrvenVhzA== Date: Tue, 27 Feb 2024 16:17:10 -0300 From: Arnaldo Carvalho de Melo To: Namhyung Kim Cc: Ian Rogers , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Adrian Hunter , Oliver Upton , Yang Jihong , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, bpf@vger.kernel.org Subject: Re: [PATCH v1 4/6] perf threads: Move threads to its own files Message-ID: References: <20240214063708.972376-1-irogers@google.com> <20240214063708.972376-5-irogers@google.com> 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 Tue, Feb 27, 2024 at 09:31:33AM -0800, Namhyung Kim wrote: > I can see some other differences like machine__findnew_thread() > which I think is due to the locking change. Maybe we can fix the > problem before moving the code and let the code move simple. I was going to suggest that, agreed. We may start doing a refactoring, then find a bug, at that point we first fix the problem them go back to refactoring. - Arnaldo