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 3D8C1254B0D; Wed, 26 Feb 2025 19:47:40 +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=1740599261; cv=none; b=pZWD5WAf07lf2eo6XzvRqhTTd9jDzcqchBlNLGpH7LuqmUdTf7IbvnfBK3VfnNgJEytvqLDgplr5c2uWZzXMDh9WRtpRY7nTawlH1yJF8wUBQ3uOcU2hLf75x5WGPDOWN7G3TjGu0TTjvYvE57KPjJYFmucw0GAshsPLZJjoJps= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740599261; c=relaxed/simple; bh=kSTQh4ZFrGmP0eQD82eB6qaqkRhJbOfdSRo8DWtPJXY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=Oi+WZWrugsAjhVnNkwAlhHXjdiHBDeMxmLMFf1beJbZLBZfHhMhTxGNP9w9kUJS72Btg8k5XqjXCpnGMFFY0cn4UIfN5Wm18ZtO2Cuz+rt6NKRnLCp9dhZ4knz0Vcgp3twDxUl5m4lLd+ule8NlW/rj/Eqwbr/xrXAoTlH+HYdA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ARv1ZI1i; 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="ARv1ZI1i" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 35D51C4CED6; Wed, 26 Feb 2025 19:47:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1740599260; bh=kSTQh4ZFrGmP0eQD82eB6qaqkRhJbOfdSRo8DWtPJXY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=ARv1ZI1iWU+FJN4wd1NHMNnWSE2HLfdqhs2UhZvvlAhE7ok3kR9USW8KWuKX9Y9jW QW0ISZG7qV7vcsiapztWdMz2XTz5tP4M7gWKHV/l0UB8BUoYuzDDKxk7vUs9nLlurV Q5o0tCJDn6b9TxMmqleEqrPxPfXF2kOjaON7tu+jhkkMbxxnohoJvPZRjx8wxJpA1G dYMJgCYDbNSivxfHWFZF77p+NJY7OXeIHnio7KeWgu2x/HrXzBFdl8F0ZOLNyyBmb7 cuc8aCsAswYU0+vB5A8+Z3thcNBcMgX0IYpuHyE8uLRdSKeThpk+rIaJoGgb/8GYvD Q6VI7ehdWy+Qg== From: Andreas Hindborg To: "Frederic Weisbecker" Cc: "Boqun Feng" , "Miguel Ojeda" , "Anna-Maria Behnsen" , "Thomas Gleixner" , "Danilo Krummrich" , "Alex Gaynor" , "Gary Guo" , =?utf-8?Q?Bj?= =?utf-8?Q?=C3=B6rn?= Roy Baron , "Benno Lossin" , "Alice Ryhl" , "Trevor Gross" , "Lyude Paul" , "Guangbo Cui" <2407018371@qq.com>, "Dirk Behme" , "Daniel Almeida" , "Tamir Duberstein" , , , "Miguel Ojeda" Subject: Re: [PATCH v9 01/13] rust: hrtimer: introduce hrtimer support In-Reply-To: (Frederic Weisbecker's message of "Wed, 26 Feb 2025 17:31:29 +0100") References: <87msebyxtv.fsf@kernel.org> <4UoaifxB7JgBVKsNQyFR_T8yc3Vtn5TLAEdxdXrojNmOzJSEncopauEyjDpnbqzr8Z74ZWjd_N-bB-BwBS-7aQ==@protonmail.internalid> <87bjuryvb0.fsf@kernel.org> User-Agent: mu4e 1.12.7; emacs 29.4 Date: Wed, 26 Feb 2025 20:41:27 +0100 Message-ID: <87wmdctrx4.fsf@kernel.org> Precedence: bulk X-Mailing-List: rust-for-linux@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable "Frederic Weisbecker" writes: > Le Mon, Feb 24, 2025 at 08:52:35PM +0100, Andreas Hindborg a =C3=A9crit : >> > It's of course up to hrtimer maintainers. But I personally nack this >> > kconfig, because it's not necessary, and hrtimer API has been stable f= or >> > a while. >> >> Having the switch is fine for me, removing it is fine as well. It's just >> an added convenience that might come in handy. But having this kconfig >> very close to zero overhead, so I do not really understand your >> objection. I would like to better understand your reasoning. > > If you choose to make a such a Kconfig switch, it would only make sense > in order to spare some bytes when no drivers use it for example. But if > you're afraid that the Rust binding is on the way while the core is > changing some API then I guess simply disabling Rust would be enough for > testing. > > I don't think it's necessary (unless it's strictly selected by drivers). > But it's your call. I that case, I will drop it. Thanks for chiming in. Best regards, Andreas Hindborg