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 5611214B967; Fri, 2 Aug 2024 11:48:24 +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=1722599305; cv=none; b=Rl8RgbAyJIfjUttmx/i0hL6vlfRENasDxxUJPCMmoIU9FEDsSAq5JSYkiO32xBklY0Mh2JxDhksIkhvGqNoy8UI7q4nEKRLvpdCJlaekC/8ZpmvXmgftUP73Iso7doIfho0kRkbqzJnccvb+sGG0wq/e+A1xik87sbPGF0V37NU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722599305; c=relaxed/simple; bh=o8iPC2bXimRPJlqxz22KFMbJp1dGZNPsEfxPSGSr0O8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=WALvhOZnHEDwMTFOYYsPlCUpU7S13W6Wja94ppmeyQCMAODSxyCsFSm0Pz3NigRn3rmRKZjWpQ2Qa05aZz5Sxo60l4OgDJF6qviO0ZUMvQ+0nt7CIMgBIevys220VXmxpsmpR3dRRzGG7DEtm5iPXBZLgIMvjs/HoXVAOaROHtQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=DCMtwZ7U; 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="DCMtwZ7U" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1B5A9C32782; Fri, 2 Aug 2024 11:48:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1722599303; bh=o8iPC2bXimRPJlqxz22KFMbJp1dGZNPsEfxPSGSr0O8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DCMtwZ7UbCchkiKKyFs0coG8tvY0xGzeqY7up4XVXCr/kYAvvIE8SJiSADwR6eZSB 74QAGt3/ibbeRec3c6QtRkfxTm7E4pkNu/CGLbAXYd/c0r0rscNH6eeR4WMbqxkWkb pPSwN87b2/UriK/KrZYBDxeDq8wxizzyV8+jN2aULenpI/qPHwwOJKfGC9nqL0Kj5i +9ExByG4sHnH42KiaCxmZuCuDkg/NKPUux5Hf9VRRxWwTJGCMvXyG55WGjmoz6kzD9 I4rLyeKl9Vr5wkgL9pBf1w2lXm9doUGRnSjzrY1e7YR4D0aa/rJ1rqynGwLREPTUz+ uetWFDj+9/62w== Date: Fri, 2 Aug 2024 13:48:17 +0200 From: Danilo Krummrich To: Alice Ryhl Cc: Miguel Ojeda , Andrew Morton , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , Benno Lossin , Andreas Hindborg , Matthew Wilcox , "Liam R. Howlett" , Vlastimil Babka , Lorenzo Stoakes , linux-kernel@vger.kernel.org, linux-mm@kvack.org, rust-for-linux@vger.kernel.org Subject: Re: [PATCH v4] rust: mm: add abstractions for mm_struct and vm_area_struct Message-ID: References: <20240802-vma-v4-1-091a87058a43@google.com> 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=us-ascii Content-Disposition: inline In-Reply-To: <20240802-vma-v4-1-091a87058a43@google.com> On Fri, Aug 02, 2024 at 07:38:32AM +0000, Alice Ryhl wrote: > This is a follow-up to the page abstractions [1] that were recently > merged in 6.11. Rust Binder will need these abstractions to manipulate > the vma in its implementation of the mmap fop on the Binder file. > > This patch is based on Wedson's implementation on the old rust branch, > but has been changed significantly. All mistakes are Alice's. > > Link: https://lore.kernel.org/r/20240528-alice-mm-v7-4-78222c31b8f4@google.com [1] > Co-developed-by: Wedson Almeida Filho > Signed-off-by: Wedson Almeida Filho > Signed-off-by: Alice Ryhl Reviewed-by: Danilo Krummrich