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 7D9B41624C2; Thu, 27 Mar 2025 20:57:03 +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=1743109023; cv=none; b=BUzsbPonVCSfdM7HU3hucoY3AOI++MvHRpwK6CerwcKn8Ghs4z0YP1JbeBjCQRkKmp71y5iHYo23GvVzK+NQd7eq7jgefJ7dKfGVZas8oOuHfXZ/fMgnVTNtsieHUhWrr8lVK+/O5CPKAvRpcGFe1O9kgxppcLeQkmc8fwxLxlY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743109023; c=relaxed/simple; bh=k965J4r67f9gDf6M03ogXhOMMMJERpqaXsXopGkUyrI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=IFnJt6KPjaILho5BkbSAeq8bAihkCKL5tdi+IzHydjgf+Iq9Rd1/0B9a1JOIjpCoPj1lcTa2zZ5ELaEA4Hn5HKRObfYpqK2NKDlK5SCLtLF08HI2bqIZu0gpC95pFNJXCPi3olTdFlx6P0bY2HqvFgrtusl0Tv4daWkZBMc2Udw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=IobFMYmC; 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="IobFMYmC" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 43E2DC4CEDD; Thu, 27 Mar 2025 20:56:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1743109023; bh=k965J4r67f9gDf6M03ogXhOMMMJERpqaXsXopGkUyrI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IobFMYmCjS6A956MvZWr9OlF1ezNb0xk5tv0RvQp3a8buZqkAwy7PoL6jMs9ZYQFe El7w1LBGuK7aG3IaVSRYH7QXt+shX4uil8KxhjfEgJJEPhtF5xzZAFcJLcjaSUcnCE qqXumV7+9j5utajJqflF93JPEFLD5oxVPo9BJIS2GjBkQDlMal4f4wpobPFES1B5iM ujUVmGMJa20BojdeiZO8WO2jWq91eIeaD2zMzvZNvsLdjUZJ2IRZb33YRMt0eMWXox SvS/ZeDvuVuAvJGak4rV8ZAHO5+ADFYI3pYWj/3PyF9n5kEPBJJnDG4MgZN+ioSK+u AdF7ElJfOAoIw== Date: Thu, 27 Mar 2025 21:56:57 +0100 From: Ingo Molnar To: Peter Zijlstra Cc: Eric Dumazet , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H . Peter Anvin" , Steven Rostedt , linux-kernel , Alexei Starovoitov , Daniel Borkmann , Masami Hiramatsu , x86@kernel.org, bpf@vger.kernel.org, Eric Dumazet , Greg Thelen , Stephane Eranian Subject: Re: [PATCH] x86/alternatives: remove false sharing in poke_int3_handler() Message-ID: References: <20250324113304.GB14944@noisy.programming.kicks-ass.net> <20250325103047.GH36322@noisy.programming.kicks-ass.net> <20250325123119.GL36322@noisy.programming.kicks-ass.net> 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: <20250325123119.GL36322@noisy.programming.kicks-ass.net> * Peter Zijlstra wrote: > On Tue, Mar 25, 2025 at 12:26:36PM +0100, Ingo Molnar wrote: > > > Yeah, so I do know what #BP is, but what the heck disambiguates the two > > meanings of _bp and why do we have the above jungle of an inconsistent > > namespace? :-) > > > > Picking _int3 would neatly solve all of that. > > Sure; the most obvious case where BP would make sense, the trap entry > point, we already use int3 so yeah, make it int3 throughout. Okay - I just sent out a series to do this. Found a few other things to fix/improve along the way: https://lore.kernel.org/r/20250327205355.378659-1-mingo@kernel.org Thanks, Ingo