From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f74.google.com (mail-wm1-f74.google.com [209.85.128.74]) (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 4214426D4F7 for ; Sat, 7 Mar 2026 22:41:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.74 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772923273; cv=none; b=ZvrpToTqvs3bXYPMQwQFAxXtrLMGWaWpNULSj9xJNNfSw2x59j0oNJHVPqRJ+BgCxX0hesTl1WeuOUNmk5t7etb0dmpdsvCSgjWCC9F14jImieiEJdHEnUZkatfZx4VfQ4AuB+/yyuZkSq1MxbZfN8iJmpVv7LnS7rGhpif7OpU= 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=D9dOMSiX; arc=none smtp.client-ip=209.85.128.74 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="D9dOMSiX" Received: by mail-wm1-f74.google.com with SMTP id 5b1f17b1804b1-4852cf0318dso12425415e9.3 for ; Sat, 07 Mar 2026 14:41:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1772923271; x=1773528071; 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=D9dOMSiXmcqCqt18SlOsEOGXXU+euay1Y6hEqoyYRxF1FxeuDeuFrsdnggErkTHuew 8DQUZ/OWYSZuN5oiLCUuwpV+q5/3Z/zegSbZgN4oO1Ey8SeSSOgTMX4Cg35wlY0gmCD3 T4JMZsXDKgKSIGscPEduyimAx+ewi/tpv4sOdk5UBzF6YONnqs9gbwmtAUizWcw8sVfS GHs1TwREy//8PPGi/TqK/7OtRu5NQTtlfgr3LagMKumqKG3JvNTWGtvXkR9k0LVZ3s1/ 0Fxa2kG45+hsRVkoEQqwOATjdbneyvtWV7MJ6FgHw0Zf3HfZlRkgFo7Pggafot871UD4 FhkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772923271; x=1773528071; 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=Eog9NZulR9kiJSayqha3tOO4s0ndBM+FrYODXkUFmDU21dMh8skzK+yjdwbmldPYTE eJLClhDNnZaJwZ2FYjNXzZ2SS/e9T2aQAfAE4rCiwk501imwR7q+c6PWibcCDB/qVXfL fTtLOnIMkbJ+MBSTk0ei17oOaG3FkXcFf8wVsMAaTpwJZy6ms7Y9/xhnUKrBEPgxQKHI JHcG8g51apc6tFexyBNLs3IFPYFNpPH7oV2uNfTO6Xhhfn063oxSik31USLc9BA8blgL 7NDr3rq/0EutUZuIhX74OIJtx4gzP83S6lpFKP4yG7Qr52eZc6KkfAsk57BAPQlLTem2 sZ9g== X-Forwarded-Encrypted: i=1; AJvYcCXkzLLeOplj6DJDoBcBKYvSPtXPUm27VFvOFRboyr1Z4gCcSCvcDJLQp7iM5OXrEP+xXCkOBKbF2hmSrjI=@vger.kernel.org X-Gm-Message-State: AOJu0Yy3UCIe2wIrZmHhce1YPlpzyyYnuAvF683VvUQnPs+UE85daq5B XzMwXHG9wSLnFwIqejn6fkvn1q4zpP4voNt767P+bLE67ugIgT8C1JkPqMbf8SO6hXZVNtECE26 9VBwmWd9VGl4SOlUjRA== 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: linux-kernel@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