Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp282427rdb; Thu, 8 Feb 2024 06:03:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IGmT3OfwNbQbMMeV797L/R4BGI9CKhWaTo4YvQq+quoDGwGhMMoQ8zMD/MGivz7+nRT1L9x X-Received: by 2002:a05:6a21:33a6:b0:19b:a07a:3495 with SMTP id yy38-20020a056a2133a600b0019ba07a3495mr4772548pzb.25.1707400994876; Thu, 08 Feb 2024 06:03:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707400994; cv=pass; d=google.com; s=arc-20160816; b=LILhgOAe9Pq1ngmQH4COOt503MVLW08xTiKNYVvAtWNGYMVWGYtx9jXqwhaiP1uLLg x66pYOSsh5zjVlrKw4Jp7NFRtQFux8yvmlcoB2q8IdbsOk19jSC3qrmd9GBZYnl1GV2j W56reS5b/IRIwARk8OgCWsu5SRLnauSc3xp1IGoqlV+FG0zSsaP5g0XfnpH4EJ614Je3 YcvAIlHA/5ekRofAa8E8Fe+vdfKDVfqMB/BlxBZ8j2Iz6wHxREgZWE+nAOhbgjv2t5PP kKGkIrW2poP8noQo2C0oXOhq1t1BgTdYnlypyTXyNbopfJxz4pj3HOUEsj8JyHIYxzNu P3Bg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:cms-type:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:content-transfer-encoding:content-id :content-language:accept-language:in-reply-to:message-id:date :thread-index:thread-topic:subject:cc:to:from:dkim-signature :dkim-filter; bh=kEceGURTSCLX1LnHfzyT42pz7RXLd+AthgwrbZcGAGQ=; fh=0hXLOvj05ZZRS/kd6+PnB3TI42iRz5YvuHzzNKzjOaA=; b=Kx8SXaS0Ivddx6tBJKKZzlWQts15zYWnGzjCcYeADUYT8wa7rrAX/hDsQiJ4rUcuHI 7JKNhyjviCJn5yYoeqNWuXNuctfWl4qtT0JLe6kEoem5pdLHV+e5rJ9x/RJ1AIOUhGSW s93Y5c6ScyiCRNG/tOlWyExkwWL0I2U0OUEb9JafqMgDXgRKb3Hknu5SrLBia1JkV2YP rI3ksBvBUN8BLaE96GRi2r72hJDoHd1SsWXIoloU6ZZwlKyU2uyBexFkNHIMbDGug2tU 9fULSp0WZriZTzYW/aRFkGFTG4eX3LnPDrwh7u1psxUeY3mealXBko1M27aE1i0xDgMF tFvg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=b4667edO; arc=pass (i=1 spf=pass spfdomain=samsung.com dkim=pass dkdomain=samsung.com dmarc=pass fromdomain=samsung.com); spf=pass (google.com: domain of linux-kernel+bounces-58209-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58209-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com X-Forwarded-Encrypted: i=2; AJvYcCWykvq+i1UqgWXZP9ciQGQUfXg/DR+acq8jQ4mM8Coh7IwcuX4g3MrZKUC89ILtN6aMJ/8KcEBkvNr129qIas6CX25QMZNwgz1uRTCaTQ== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d30-20020a63735e000000b005ce08c4bff5si4119521pgn.760.2024.02.08.06.03.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 06:03:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58209-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=b4667edO; arc=pass (i=1 spf=pass spfdomain=samsung.com dkim=pass dkdomain=samsung.com dmarc=pass fromdomain=samsung.com); spf=pass (google.com: domain of linux-kernel+bounces-58209-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58209-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 2E173293700 for ; Thu, 8 Feb 2024 14:03:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5BEEC79925; Thu, 8 Feb 2024 14:02:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="b4667edO" Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) (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 AD19178696 for ; Thu, 8 Feb 2024 14:02:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.118.77.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707400976; cv=none; b=r72frv9NEfJdLfBM2wefFjm2gx1RYoerLcu7rPm7vcKiAE9QJjenvWA6jCTHd23zk7yYGqKEQMIHsf/S/hszCMs1akplTtlOdHrVNTPDzUsSuBWhzgDyOL5EZS+b/ODIQedfLw7CCQgwC2UvzQhOk8U9LTY1enSU8O8YiMenL/0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707400976; c=relaxed/simple; bh=kEceGURTSCLX1LnHfzyT42pz7RXLd+AthgwrbZcGAGQ=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:Content-Type: MIME-Version:References; b=a953a4KK1wupbER1C8+agbypEqiNeQoNz6CcxH8jBfh45y9YZkrbJcnADMeDhQUO1Sq04kGUYhn+Tg4B4CxSZsfJvHhtnqAKl0+DdlJvQQgkAmwT56vvNrhJn/yvfmTpATd/Wk/WBJp9NxTjX8V5nk2Fsk7F/EILcsjSiVq/eGQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=b4667edO; arc=none smtp.client-ip=210.118.77.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20240208140245euoutp02f9a2a91d7312ef972ee4828ecefb8d21~x6CHYxETJ3141231412euoutp02S for ; Thu, 8 Feb 2024 14:02:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20240208140245euoutp02f9a2a91d7312ef972ee4828ecefb8d21~x6CHYxETJ3141231412euoutp02S DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1707400965; bh=kEceGURTSCLX1LnHfzyT42pz7RXLd+AthgwrbZcGAGQ=; h=From:To:CC:Subject:Date:In-Reply-To:References:From; b=b4667edOsAP6VVgelN+jEIx5AoXUUpyUMNGD89kol2ShCgaRqdm/4HQ2GoRWERwwe fSUih/K0WgZHVNCRkmOk7lx+c69NSZKECAf9+m6EuoFXXcgEWM9F0Z6/heGdoKJUbg yunDXY1oi0KXwCA4vqlPZfwalAvupd8q1UrNq/T0= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20240208140245eucas1p125409710592f469f6554eff90efb96aa~x6CG4gXAp0794807948eucas1p1k; Thu, 8 Feb 2024 14:02:45 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 5E.62.09539.50FD4C56; Thu, 8 Feb 2024 14:02:45 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20240208140244eucas1p1308da6aac688043b2064e91a5e38b34e~x6CGZ4mGq0581005810eucas1p1n; Thu, 8 Feb 2024 14:02:44 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20240208140244eusmtrp1a05a67bc02bd29117a0f6de2f9c2d4ea~x6CGYIzDj3025730257eusmtrp1Q; Thu, 8 Feb 2024 14:02:44 +0000 (GMT) X-AuditID: cbfec7f2-52bff70000002543-7a-65c4df053775 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 04.DC.10702.40FD4C56; Thu, 8 Feb 2024 14:02:44 +0000 (GMT) Received: from CAMSVWEXC02.scsc.local (unknown [106.1.227.72]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20240208140244eusmtip129c48709c307eee724c0c1e6de2a9a6c~x6CGManwp3240532405eusmtip16; Thu, 8 Feb 2024 14:02:44 +0000 (GMT) Received: from CAMSVWEXC02.scsc.local (2002:6a01:e348::6a01:e348) by CAMSVWEXC02.scsc.local (2002:6a01:e348::6a01:e348) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 8 Feb 2024 14:02:43 +0000 Received: from CAMSVWEXC02.scsc.local ([::1]) by CAMSVWEXC02.scsc.local ([fe80::3c08:6c51:fa0a:6384%13]) with mapi id 15.00.1497.012; Thu, 8 Feb 2024 14:02:43 +0000 From: Andreas Hindborg To: Alice Ryhl CC: Trevor Gross , Miguel Ojeda , "Alex Gaynor" , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?utf-8?B?QmrDtnJuIFJveSBCYXJvbg==?= , Benno Lossin , Kees Cook , Al Viro , Andrew Morton , "Greg Kroah-Hartman" , =?utf-8?B?QXJ2ZSBIasO4bm5ldsOlZw==?= , Todd Kjos , Martijn Coenen , Joel Fernandes , Carlos Llamas , "Suren Baghdasaryan" , Arnd Bergmann , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , "rust-for-linux@vger.kernel.org" , Christian Brauner Subject: Re: [PATCH 3/3] rust: add abstraction for `struct page` Thread-Topic: [PATCH 3/3] rust: add abstraction for `struct page` Thread-Index: AQHaVNQ8VXQbcxmBfkinu8UJuZg2mrEAgLOAgAAEAwA= Date: Thu, 8 Feb 2024 14:02:43 +0000 Message-ID: <87v86zrr45.fsf@samsung.com> In-Reply-To: Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted Content-Type: text/plain; charset="utf-8" Content-ID: <657A913530B0754F8DBFB2EBCA6CB2FE@scsc.local> Content-Transfer-Encoding: base64 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA01Sa0xTZxje19NzoUpyWpR+somjG8t0jMsk89slTsmWnMRlQrIbu6hdOcEG WlkPBWbcVjGjgqyr2G1SLkVEsVhSUmtxTFErs8WCDDCFmSG6NVMoBmxxc2WwjZ5d+Pe87/u8 z/O8Xz4Kk5wiEiilupjVqOWFMkIkdF3+feBpfLyHTW+8JkL1dhuB5us6SeQdKRei+ZrLJJqe HyfQjL8cR6Pfn8eQzblXgIKXQgDNXhgi0WBfEKB9R+0EOq5LRn0HVGi4q55AN2x/4shl0+HI amkFyP7LJQwdGmoiUJM/QqJ+1xUSDcx7cNRxvB1sgozrWxfOzEVqAFOnGxQyLZURAfONeYxk mhxa5kjoPs442ioJxhG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v0FWt4e9XNmsHJLmE2D3 RkK2NzDpcXDe9LsBHxdVFbarEj7X7NspCz8WmGA/tEHO9RfqcxIPB/fINqa/XSC7S1vG3rx9 urj2j3LVma2jrfWxCb+VJz8QN/q1f7Yr6AMhocmQS8JwtUb+L/fPdy5RBAAA X-CMS-MailID: 20240208140244eucas1p1308da6aac688043b2064e91a5e38b34e X-Msg-Generator: CA X-RootMTR: 20240208134629eucas1p2edf4cb1e50e3bb578297c33b79701574 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20240208134629eucas1p2edf4cb1e50e3bb578297c33b79701574 References: <20240124-alice-mm-v1-0-d1abcec83c44@google.com> <20240124-alice-mm-v1-3-d1abcec83c44@google.com> DQpBbGljZSBSeWhsIDxhbGljZXJ5aGxAZ29vZ2xlLmNvbT4gd3JpdGVzOg0KDQo+IE9uIFRodSwg RmViIDEsIDIwMjQgYXQgNzowMuKAr0FNIFRyZXZvciBHcm9zcyA8dG1ncm9zc0B1bWljaC5lZHU+ IHdyb3RlOg0KPj4NCj4+IE9uIFdlZCwgSmFuIDI0LCAyMDI0IGF0IDY6MjLigK9BTSBBbGljZSBS eWhsIDxhbGljZXJ5aGxAZ29vZ2xlLmNvbT4gd3JvdGU6DQo+PiA+ICsvLy8gQSBwb2ludGVyIHRv IGEgcGFnZSB0aGF0IG93bnMgdGhlIHBhZ2UgYWxsb2NhdGlvbi4NCj4+ID4gKy8vLw0KPj4gPiAr Ly8vICMgSW52YXJpYW50cw0KPj4gPiArLy8vDQo+PiA+ICsvLy8gVGhlIHBvaW50ZXIgcG9pbnRz IGF0IGEgcGFnZSwgYW5kIGhhcyBvd25lcnNoaXAgb3ZlciB0aGUgcGFnZS4NCj4+ID4gK3B1YiBz dHJ1Y3QgUGFnZSB7DQo+PiA+ICsgICAgcGFnZTogTm9uTnVsbDxiaW5kaW5nczo6cGFnZT4sDQo+ PiA+ICt9DQo+Pg0KPj4gU2hvdWxkbid0IHRoaXMgYmUgVW5zYWZlQ2V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