From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qt1-f178.google.com (mail-qt1-f178.google.com [209.85.160.178]) (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 7ADEB382288 for ; Fri, 10 Jul 2026 19:08:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783710520; cv=none; b=dyhvZQZghRSwiWsiqNZeuihadZmgJFKoJipNLqAhLzEZ7KS3nvGxQUy4SGY495FPAY5G6GpJ/LP5qOs85mX2Z2Mda0iqvlqUA4rJgj0gCIyWLZMJT7R9nKY5a28NQsezp6wzEerSZhbNqCF9+IEidlg7qQtwermrpQwrol9bRQ0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783710520; c=relaxed/simple; bh=HnhvpODSykZGd0gC/qYJbWWYfTQ/iP5eixsH8/fLwto=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=c4innG9d6q/jsWXxY2pZff8Q8jAlBTpBJR5Xkp+5iPJBy7O2mzWOMc8idQFmYJ09JKa0AOoXutUzDcjgA8ZHRUtnjUGMlbtzHEzx2thfx167Dh/4r6sk1cDMe/3p3Y5+99Ay2Wf01vVbVtGUNQtBKTiewtVLkI/8A798IGyo/bo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gourry.net; spf=pass smtp.mailfrom=gourry.net; dkim=pass (2048-bit key) header.d=gourry.net header.i=@gourry.net header.b=U7Y+WUUw; arc=none smtp.client-ip=209.85.160.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gourry.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gourry.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gourry.net header.i=@gourry.net header.b="U7Y+WUUw" Received: by mail-qt1-f178.google.com with SMTP id d75a77b69052e-51c0c45c580so8697341cf.0 for ; Fri, 10 Jul 2026 12:08:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gourry.net; s=google; t=1783710517; x=1784315317; darn=lists.linux.dev; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=iFtVuusRSG4YUFzvnh+nyLwKm1T7E76ZywXpwPdPfD8=; b=U7Y+WUUwcUXj0Ho7v8eb35AK58hWiJ3+WbygjnMIk666WQuKqtV8piYsecYIuPgqis LYBXORmjiQzFuqw4akrBICh1LNlB7xtOClSJiYk6jKNOjLbBjS9/1cuAhKmP+1xgzoxs jLRW3Ay2PezWyC9kZRaiXepYU8SaFbDNElkekaX2AfHeWQgq0YBkAzxVr4gN1T0IVBKL IiMVceKqOOORuNaV7MhQy5oHmmOmKL8VMEAJ+btY3tDh7wrY/tbBHhvHeZlCwTnku7T2 qKsffvOenkQ8zH4DR5ZpBDC4CIprVe2hHzJu7WUdPbP10Vx5tu/aJoc7hrfuKHPS3c/X pksg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783710517; x=1784315317; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=iFtVuusRSG4YUFzvnh+nyLwKm1T7E76ZywXpwPdPfD8=; b=IKayHF4e6XOqBF5SKDTBSamvns2spSrQnAs7ZtDeXtoZAt+BEKYTsj7wIKoJXwIfac oUTC30K355tplvLQz+rN4xU/3mmv3LSR+M6GVIcTeYF9b70Glx4xMIYfZqb+Wljx50SA YfNGyE9J7H0/IftyC085AhVG9w3fCzSDapF0yOwhiMZQ178uNjq0LXS120ptcdqnExM4 cggvTsrpmPpD59LDX7B7lajqHUARMd/jFf4J9F3zNOAgk/dvqDr2rS9yLkajH1pKczjx Vhtj/qV1oHWVOuixNUw8fyCQCWJgM4iLP28MVYdB3Toh9QzF+p7MgOD+lZpErdjBOz+A sZRA== X-Forwarded-Encrypted: i=1; AHgh+RrhGfM5THpM1SVQccrmk0/QVa/UheipRGwa5i08NmThVaAPDD+fWiu//P72qUzqSE+7NN9K3Gg=@lists.linux.dev X-Gm-Message-State: AOJu0YwJnQwH/IMywPl/ImnsKiplZlJurdI64tn494Z/0ZzbKTX1aEBL kux2vUHos84paxb+WeFqwvV6uQjPmNI6H0VaNTEJIeI09tPxrjX/p5LdCvnB6oWx3g0= X-Gm-Gg: AfdE7cnABFrn7Y7+wZBdIGPg1rAmCtvh8GFGeGbgCNdhRylU6vNnJUuAZtwOzjxA76V 66PNihZZmHA/bw3wY9zymLxnYQjmAzk7lKQ2lQ2DQTN5LU12A046NfqYnveSXE8k/jkJGPIwJ2x LK3iBI2B5i5Rv38sbEv9mHs8KTIjiY2gjXN8iWfhbdVDKioqETM6zUVtwnI8dHTY/2m+13RPc+l gTJoLPga7IVrA9AoI9Kk7xPUT0WAHroofwrF/sJq932JZAcQ+eFpMWF6aS3Sqvxt1wkLs2w5PNE MVJ3adY/BZG/kvUPd7H4q3n5NpLuSyoK2s8DdbVfOAN+UQTNd5Kwrza/8hBoMM01y+5meO5RQKo QlEABbpbg+feOBec7u/FSLxOA3x3pqDj/g3gXk0wIo23wk/zwAhyGEohp3jDB/FpyUI+58wQ/48 ot9q5b4r01iCbYBrSotrKalSCyt+NxHMukneXeq0jITU/ya+LbeTOkBIwnJAo1TU/h7LA/ X-Received: by 2002:a05:622a:1818:b0:51c:b900:513d with SMTP id d75a77b69052e-51cbf280a8amr2226311cf.53.1783710517321; Fri, 10 Jul 2026 12:08:37 -0700 (PDT) Received: from gourry-fedora-PF4VCD3F (pool-173-79-60-52.washdc.fios.verizon.net. [173.79.60.52]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-8ffd7c1da1bsm47847566d6.30.2026.07.10.12.08.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jul 2026 12:08:36 -0700 (PDT) Date: Fri, 10 Jul 2026 15:08:31 -0400 From: Gregory Price To: Lorenzo Stoakes Cc: Andrew Morton , Russell King , Dinh Nguyen , Simon Schuster , "James E . J . Bottomley" , Helge Deller , Jarkko Sakkinen , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, Ian Abbott , H Hartley Sweeten , Lucas Stach , David Airlie , Simona Vetter , Patrik Jakobsson , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Clark , Dmitry Baryshkov , Tomi Valkeinen , Thierry Reding , Mikko Perttunen , Jonathan Hunter , Christian Koenig , Huang Rui , Ankit Agrawal , Alex Williamson , Alexander Viro , Christian Brauner , Dan Williams , Muchun Song , Oscar Salvador , David Hildenbrand , Suren Baghdasaryan , "Liam R . Howlett" , Matthew Wilcox , Marek Szyprowski , Peter Zijlstra , Arnaldo Carvalho de Melo , Namhyung Kim , Masami Hiramatsu , Oleg Nesterov , Steven Rostedt , SeongJae Park , Miaohe Lin , Hugh Dickins , Mike Rapoport , Kees Cook , Paolo Bonzini , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-parisc@vger.kernel.org, linux-sgx@vger.kernel.org, etnaviv@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, linux-tegra@vger.kernel.org, kvm@vger.kernel.org, linux-fsdevel@vger.kernel.org, nvdimm@lists.linux.dev, linux-mm@kvack.org, iommu@lists.linux.dev, linux-perf-users@vger.kernel.org, linux-trace-kernel@vger.kernel.org, kasan-dev@googlegroups.com, damon@lists.linux.dev, Pedro Falcato , Rik van Riel , Harry Yoo , Jann Horn Subject: Re: [PATCH 22/30] mm/vma: move __install_special_mapping() to vma.c Message-ID: References: Precedence: bulk X-Mailing-List: nvdimm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Mon, Jun 29, 2026 at 01:23:33PM +0100, Lorenzo Stoakes wrote: > This function is operating on VMAs and rightly belongs in vma.c, where it > can be subject to VMA userland testing and allows us to isolate it from the > rest of mm. > > The _install_special_mapping() function will remain in mmap.c as a wrapper, > since this is used by architecture-specific code. > > Doing so allows us to isolate more functions in vma.c for the same reasons. > > This forms part of work to allow for tracking MAP_PRIVATE file-backed > mappings by their anonymous virtual page offset, as doing so allows us to > isolate and keep code that interacts with this together. > > No functional change intended. > > Signed-off-by: Lorenzo Stoakes Reviewed-by: Gregory Price