From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f73.google.com (mail-wm1-f73.google.com [209.85.128.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 356CB244661 for ; Sat, 7 Mar 2026 22:41:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.73 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772923273; cv=none; b=gkJnCIgORVUeo9fGgDLnj60C1CoBR2KoqURAVwnGIhlqptcsUNKVRH3RguAE/PClsAGJmQux9UXGvDRMCLM5WJNA/Hh86DlMGiD0bXlbf3Mmw3Ar/0aCQxTBsrthsB+nLvqca/OAkPfPoLb8mepYBAWKcP7CJNkGQs/UF+PUIEw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772923273; c=relaxed/simple; bh=I4VtaTm8XHSftyNG90a7MzUKFwrfQloyAsT6smzws+Q=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=a6A173Hwm/I7dYteiSMl1QOGArD3RzT+uR9YZvjwAEQWpEKVl/nZVqjEzuIOxTUl8ApHAkjFkfHZdbNYXhhuVNgu58s+pjLUiL5PNOhiArSGHMIPwQ4UvshK+VqTYiswz8XNCMnK6lchzFqhkD4AEtZLy282vf0ABPgoNayaLuc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--aliceryhl.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=or7ofdcw; arc=none smtp.client-ip=209.85.128.73 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--aliceryhl.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="or7ofdcw" Received: by mail-wm1-f73.google.com with SMTP id 5b1f17b1804b1-4852ccff333so12532725e9.2 for ; Sat, 07 Mar 2026 14:41:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1772923270; x=1773528070; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=H7GRPrhIM/HbWD59Yul47MIZsf01ZYQyC3nXK9qbXgs=; b=or7ofdcwi17qkjHaB9Nw5750BROHdHokL2xHrxfJXCrZqrXels4SE3nzsNWXmLGsCI 9PpmwLR9X9Eit+M1JqoDTSdJQoXAsLzgn7esFeYGY1RSb1OLHTxHR3MC7h8kYycI2yWJ jzJ6nN6f5jH/XVOsybBhH/YlMAdsV/Schnr06EXlz6aX0NsQawGxyNJ6TSz9nYaC+ijv W+KU8A/wUzaHj6FZObXNdJian7TGcfSsrv3nG6qzF6E9fnhxpWbnsI3IxLYRFdDWkbsD zv43nwKBgjrj7p9ElRAGy6dFo+Ldok9AunfyoAClDUXQ27+lSSh8kAgVNa5Y9o5bnYmy c98g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772923270; x=1773528070; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=H7GRPrhIM/HbWD59Yul47MIZsf01ZYQyC3nXK9qbXgs=; b=jb4ihxfxNeitJIrGlmKKnd1unWDeXxxoLuT+IlMZyBI13P7gQDx1bh0sAqfFVZ0MgC C9e3A7UqBH+BsdnIFVGEVe8wIUFAJ64MV1tG6604v9qUbZshRZThz7fQ4TuykQWwfxAV /6tAXbhhSvhCKeZSg2gmRSM4deVgeM8G79waQ3JIAH/V8e9AblDzUz+Np8Hr/rUb0Tbj q30tIQTDRQuTZKTVxno4XUuJOPrllgN+nGD/OcRiApefIhStpqZOgiKJb4odPXGTZGxF 1geHXr+nS8xXHv3NkGM44nPayORKlpuGUTdzvZtA1NfxXrLe1mugkALeqUV2vIDeyuDQ PxqA== X-Forwarded-Encrypted: i=1; AJvYcCVTAdWnJuHageKSfYO8uYUrG1hoBCBHh+kZnPp91SztkP2VYA0nmMrzUQCrZuBoFKDlb0IzU/k=@vger.kernel.org X-Gm-Message-State: AOJu0Yy2T38Pc5J5bod7AcldKnremDFKenPn1itmEb5HjhwHoJEWHfJh wL9z4ghFq+Gsmkt1rELbBu9srnGn8gfrxg3U0wFYhcULWyo0trcZLoMsfxirkJv9M+Ig5Ym9UMM cF/yT9+fihWedo1clgQ== X-Received: from wmjy4.prod.google.com ([2002:a7b:cd84:0:b0:483:27fd:cf2b]) (user=aliceryhl job=prod-delivery.src-stubby-dispatcher) by 2002:a05:600c:350e:b0:480:4a90:1afe with SMTP id 5b1f17b1804b1-485269785afmr99848205e9.34.1772923270530; Sat, 07 Mar 2026 14:41:10 -0800 (PST) Date: Sat, 7 Mar 2026 22:41:09 +0000 In-Reply-To: <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 References: <20260306-binder-netlink-v1-0-daceb5bc83f2@google.com> <20260307104131.4c1d0de5@kernel.org> <42407d43-00e9-4938-8d6c-70d83b0f2ac9@lunn.ch> Message-ID: Subject: Re: [PATCH 0/4] Rust netlink support + use in Rust Binder From: Alice Ryhl To: Andrew Lunn Cc: Jakub Kicinski , Miguel Ojeda , Boqun Feng , Gary Guo , "=?utf-8?B?QmrDtnJu?= 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 =?utf-8?B?SGrDuG5uZXbDpWc=?=" , Todd Kjos , Christian Brauner , Carlos Llamas , linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org, netdev@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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]. [1]: https://lore.kernel.org/all/20231101-rust-binder-v1-0-08ba9197f637@google.com/ [2]: https://www.youtube.com/watch?v=Kt3hpvMZv8o > You are just sending messages to user space. Does the rust version > send different messages? Can user space tell the difference? 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. Alice