Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp577679lqt; Thu, 6 Jun 2024 11:41:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWuzLn9N+bWYq2WXT6xMp3uJoGip6IcEcsIY2agDe3FBeDFcMRQa534ddMB0zgVtP73/OOR/4u5tnTYEWgP6Rt3zk1DI63dvy4QVBE+CA== X-Google-Smtp-Source: AGHT+IGt1wBuw9nWxABCbPX5t0ZccfdTWTdY7DcHG+FZLPX0pOgDjNEmqCjmsssYbJNkE3eCwxpI X-Received: by 2002:a05:6358:71cc:b0:199:2b63:9f42 with SMTP id e5c5f4694b2df-19f1fd10ad0mr52305155d.10.1717699288623; Thu, 06 Jun 2024 11:41:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717699288; cv=pass; d=google.com; s=arc-20160816; b=nxBY8M22As8aniJeTtFvGrXru9iicGs9VAV3lRGd3qQnFQjAHar6xqYEuuQq4rvKQm uBtcRNmfGM5JiwTypx7kaMlwHRt2L2R1p/LlD60Wpj2hoXgtdUQJ9BG4rWpBXyHGVmGY fviG1cgYImK61K1zayWdL7fQF+Z4eFDK/CPv/lDQJvVd1O4dGlXOERV0cVlOVIFm6mcF aYjloSp4q0xjJ60JGMu/SgwzOwOJuSu4Wa7QW1snVRKMrXewLX1L27UEJOOrTczkMCuf h1Xog627KBlB1UjTYvq65JbaaflH+aOcCHmmBhKQ8YCGH3/Rlq0YiKSvQufgqTlvJg+g 6VOQ== 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=BkVdSWcMaP4bKZNlsAFZLTjHS7oS0wOPey3hYl53ABs=; fh=cMm56bHFaWlTv2KvkWLzQhQiLSWy+xR8heTq+Jq5qYA=; b=A0leg0dhoI60+2HsN+FzsG3F9VSBszbapO+9BfuruvOdYF1X1PYatnAFW2GaEwWZVY eNvRRc5BHEgatIDHDqSn5b+GAqs79oVVpJoGajSpP5HV9AjLhHR5PkoGbf1282HTh4rZ 2ZUFe+LbG0SBYzCX6PvlTYzoBO6GOUDN/npyA8w0Zf2ZZU9QBVDLZd4gzrmFjwHZYZCs wP6ljrHJj52T+OF/3YbIuXjLa/MYABXAifqwoSO/xEWLvVPvPQqh/R9K1Zk/joqZ0X6r iXfCOw3os9v0oNUwz9UgjaKnOc+r0ACRWXXu/NHjlnCAIUEfaZvmRerXa67kx5D2M0ln nNCg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=oR5ddJOH; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-204792-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-204792-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6de219779fesi1534528a12.234.2024.06.06.11.41.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 11:41:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-204792-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=oR5ddJOH; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-204792-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-204792-linux.lists.archive=gmail.com@vger.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 33E4A282570 for ; Thu, 6 Jun 2024 17:23:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 59F0D1991BA; Thu, 6 Jun 2024 17:23:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="oR5ddJOH" Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (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 4C1DD1990D0; Thu, 6 Jun 2024 17:23:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.50.34 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717694613; cv=none; b=q5tMCMJwWh1Szx+UCv3FB9ul4FuKMvv9k4xY1d/lf2TYCTFDWwwRG2/+/pqAO8s9E4qgLuHpqT0cpMfuMTkUHc+46MirAWLXNlUxCyZfUgxeAArxUEEyn+ukbjeXFHqdPzZCK6BbSvrM3oroieZIMqmSBGajqyX1spQe+jQUMvc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717694613; c=relaxed/simple; bh=BkVdSWcMaP4bKZNlsAFZLTjHS7oS0wOPey3hYl53ABs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=QEmUdb5t3kEIAHj9mcuM5tnd3NbGhNlKZHnqHlObbpoqSfdEumvc67ysYwlfrziSa89ih/IdB+3UFxA/4TWPUdqORZDYdyZEBQHT1ZprYD2+CU3BVHnLQiYJoEFIaUHOBgrg918mlYvJPiQp8YtUU5hhF6Mg+Fww0HJduKzN3UE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=oR5ddJOH; arc=none smtp.client-ip=90.155.50.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=BkVdSWcMaP4bKZNlsAFZLTjHS7oS0wOPey3hYl53ABs=; b=oR5ddJOHerSiDYJ+gd3K0Xg9W1 A7Yzel/1bd6ANztTCSYuEOrAovXm6W6rgEuyFz1Dt7KgnOTGXWIIzn55zwHpWYL7Sr80vAclaZXjG dNKW4z04IU1ib9Au0ZpHjuXSIc/B6+zmwJn86dZrm9MH+MzvA7923gTHiFow+ZPEF+PzIL+Q1UziG JXrKefgZ140gJOWPKy4AF6chUEjSbhmRX9S4c3og4ZMOTUAKuhXElsxK8kXsf5Jx/Jrp7/+chHw1I QDbJ/D/Gu7hn+jgr93F/Xc8h7Uj/0WmeJCIcEIWKWpeuOKwpN9ZzlSXhNPCjHiDJkHR/90hFQJddD onp7ZQLQ==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.97.1 #2 (Red Hat Linux)) id 1sFGpg-00000001fhM-1BiE; Thu, 06 Jun 2024 17:23:24 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id F042C30047C; Thu, 6 Jun 2024 19:23:20 +0200 (CEST) Date: Thu, 6 Jun 2024 19:23:20 +0200 From: Peter Zijlstra To: Alice Ryhl Cc: Steven Rostedt , Masami Hiramatsu , Mathieu Desnoyers , Josh Poimboeuf , Jason Baron , Ard Biesheuvel , Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , Benno Lossin , Andreas Hindborg , linux-trace-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/3] rust: add static_key_false Message-ID: <20240606172320.GF8774@noisy.programming.kicks-ass.net> References: <20240606-tracepoint-v1-0-6551627bf51b@google.com> <20240606-tracepoint-v1-2-6551627bf51b@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: <20240606-tracepoint-v1-2-6551627bf51b@google.com> On Thu, Jun 06, 2024 at 03:05:25PM +0000, Alice Ryhl wrote: > Add just enough support for static key so that we can use it from > tracepoints. Tracepoints rely on `static_key_false` even though it is > deprecated, so we add the same functionality to Rust. Urgh, more unreadable gibberish :-( Can we please get bindgen to translate asm/jump_table.h instead of randomly duplicating random bits. I really think that whoever created rust was an esoteric language freak. Hideous crap :-(.