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 3565A4C81 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-4852ccff333so12532695e9.2 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=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=ftmoYqtkY8kaf6JTbPI8ZMqowyPqupPfrunIfLr+GoYiZMm7E9zxxGL9OvUv1fcppd 41LTxcg3lRCfBJWBV1q1P5mStTcQnV2TW6LT3D/0cPfr9pa9pTBlRXwNGGZCxeLmnzBz RJ8/BkakdI10odEwCkhsfz0pIAGigBcyaxD3CFakquEkN6bvV0fLA8UVb8imbELqS51S dzfUr7CQJxxn8VhGzcMdAvVJlkhESo2EliY4dNSrlp9ZyfZUVgKbsJhxAHRYR5LlWW9q PM4SnvzdAZdynG2igFpaydViySrbPlh7ZeS3tj26rhH0yK+oAhFanRN6jADVBSOCr9Ff P1KQ== X-Forwarded-Encrypted: i=1; AJvYcCX1ESREb1sPijGCYnlTWQdnmND1/sfjyjPgl5nTIkn0lXPYtWb2ciZ6Q9Msa8BilMvBr2oERMCarWLy9/SfgA==@vger.kernel.org X-Gm-Message-State: AOJu0Yx+DLANydOhopu9P2m/87iIhr1hZLIylUzDUF+xbPW8rpYIdYd1 dcaaUpvZolSmKWaEdd9KaVEc34Z+q/ECqUDZucGSMDD0gWbp8euq0qZVy7piacx88cLdl36L1jA DSxwJiv5S+Fl1Fj6P9w== 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: rust-for-linux@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