From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (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 92EB71EB5FD; Sun, 8 Mar 2026 14:13:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772979197; cv=none; b=eBAEB3ruW/YMVH8LzWaWO9xrjyxkMH9iG6KQ6eIm2MvTTnmnMJ3BbgUP3NtrD2jcj/Yp8D3SGi5W+f0WtG1lnd5GTaibREJdMgcCozZOkub/SzpNQ2a6Gwfqm41aH8mgiSY6IVqJEM2OQBHJClRXp8QbU3eJzPI5Ve4ps6DY3GM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772979197; c=relaxed/simple; bh=jrSWLf+DP89ltuX7QqRg4osRXPl22AwmQ7bpAyB/Ml0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=VaejxWSg8I0+Qvm4cQoGR9DKl8/TM6+KVRDWYdd3k+SIOr2174glxcaSHHuZte0zY7W0JKBkvdmMdS94JjYxsCDoMVeIurzbRj+1p3yZgck782Zj5+MaRCf7PQT+y93a9mliWA37xrZG6G+RKfiSHVZwjI8WhF4W0Yx4ikpqrgE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=ZoADISsd; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="ZoADISsd" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=HYnsXTxMlKeSEcZFlZzh9puac0ePQ2MqlwhHIo70zqY=; b=ZoADISsdPRuFFMnSpStVkdkqEE iFXUsI0PvbcHGlSjlEbK348LihIWsaYsUumj4Gj6c6xlnHNN0fiwWMRTALAIUqHZBGm2qGjHeDeuU +NaO3+NDwoeHNzQVh6FINb/r0hMIN69lc7mOVAor80X2LcEaLNnZm9IMpFBORAFep7iU=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1vzEsJ-00Aii8-Cj; Sun, 08 Mar 2026 15:12:55 +0100 Date: Sun, 8 Mar 2026 15:12:55 +0100 From: Andrew Lunn To: Alice Ryhl Cc: Jakub Kicinski , Miguel Ojeda , Boqun Feng , Gary Guo , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , Benno Lossin , Andreas Hindborg , Trevor Gross , Danilo Krummrich , Donald Hunter , "David S. Miller" , Eric Dumazet , Paolo Abeni , Simon Horman , Greg Kroah-Hartman , Arve =?iso-8859-1?B?SGr4bm5lduVn?= , Todd Kjos , Christian Brauner , Carlos Llamas , linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH 0/4] Rust netlink support + use in Rust Binder Message-ID: <88bd0bd2-74bd-4795-be3d-c303c75eee7e@lunn.ch> References: <20260306-binder-netlink-v1-0-daceb5bc83f2@google.com> <20260307104131.4c1d0de5@kernel.org> <42407d43-00e9-4938-8d6c-70d83b0f2ac9@lunn.ch> Precedence: bulk X-Mailing-List: netdev@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 Sat, Mar 07, 2026 at 10:41:09PM +0000, Alice Ryhl wrote: > On Sat, Mar 07, 2026 at 10:39:28PM +0100, Andrew Lunn wrote: > > > > Please no duplication of existing code in Rust. > > > > > > The plan is certainly to get rid of C Binder, but it was unfortunately > > > not possible to get there without a transition period. > > > > Dumb question.... > > > > Why? > > The reasons for moving to a Rust implementation are discussed in the > cover letter [1], and in my 2023 plumbers talk [2]. Ah, so you meant binder itself has be dual implementation for a while. > No, it sends the same messages. The intent is for Android to move to the > Rust implementation without userspace being able to tell the difference. Any reason you cannot use this Rust netlink code with the C binder? You can then throw away the C netlink code, no code duplication. Andrew