From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk1-f176.google.com (mail-qk1-f176.google.com [209.85.222.176]) (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 EFBA73806B5 for ; Fri, 10 Jul 2026 18:57:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783709851; cv=none; b=dXLNGpOhwSu6El//eerYQGtb3IZr7aFN4faUlMHFKkicI+b6VQnEg3JZ0cAeppof27Ew9Ut4PeuHNEjES13xyFI3Rw8Rr2Jn3XhYZVDcpGI3Hqcy1TDnZw+yhbdOBUz7b+mt4tLSf59LhZ8tOnDAp+Y5IhCX0ZSyLo2nVInMIvs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783709851; c=relaxed/simple; bh=mfAQ6U6Pagde6/OTMZV/3pa3xVR9imBJSf9e6QtJA6o=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=BYCRSO0E/mfA+w2ag2LSNhMC6gHlS5NjqupkOaT5PeYLX5MHyqNuz05zJjU/hl7dKqPyK4NIC82yI1WwgjouDH1vgnr3e1w6NPZ5dDU3oabmXb/WE8mTWQag1F7gS8rBry1jBhpeCQ129O6q/zOogAeYKIJAPaGDdAMV5emFB48= 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=fxaRVrzr; arc=none smtp.client-ip=209.85.222.176 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="fxaRVrzr" Received: by mail-qk1-f176.google.com with SMTP id af79cd13be357-92e5b048375so61564785a.1 for ; Fri, 10 Jul 2026 11:57:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gourry.net; s=google; t=1783709847; x=1784314647; darn=vger.kernel.org; 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=kUriDsQ9XZtRyYKZZfoXUueFFJuZPgSg6lCZHNic6sM=; b=fxaRVrzr0pu8Uz/SO7/A7nmTf/OpotguYO9NJQKIkwviKFH5uDnq4kTQpYDajWVd+9 faZwKB1PVsoYOX/6WOFdDBt5VUDMlX+XBugqcTfI4I+8aywYSLm2Gts3IcALhGIvCG/K hHZgu/Zw6gcJZ+xoWFWQcNmy6X8husI3BglEromZ8sXqN5+EvW/wDw0IrUu+X3nSmczz PE8+czA5trAIhNeulj7pYBJMlBucJKhEzcYLF+F/qHpTTu4+JBGJTqXP18vS9QbjkqOI TaQZUztVq1axOw86ojkd+MdfZfF986LEDKifyKhbCywDWB9d93mAwvELkPXX/paVW27p tzvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783709847; x=1784314647; 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=kUriDsQ9XZtRyYKZZfoXUueFFJuZPgSg6lCZHNic6sM=; b=gSDutqortxh8RvUGZE83nhmF0ZigVZMstOk/G9SO5jpCwUlY0wmW3T/NNuVnh0jENi 9V7hczWmk6Henvmy89A/NANrnQONNS5NG2yzcHAlJmBLsZd+9RKZW02q+73QWZFqBQ2Y COpZpmR9ui2bz9YS85l2nnYx3GP4rMCyr3GkOycYKBK0kdgWjMWIanfger9etXmQ2kT2 CI18odlLYHo5vaz8oe0/ZGCHyyK3a7B9P6Ax8Cf2Wh1KyJc5+MLRfDgWJDHhqSofi81V PSFZWCqb8IbBAzRK/K7ISJhbIWrjvEvAUf+01wTu0knZ41ZOQhMpsX1klJUCt+t1fQMe ylWA== X-Forwarded-Encrypted: i=1; AHgh+RplEmCyLOZXAGj7B/BCFPnBwBJ/jsCFpgdYczL9Fk9o2/UVHQxohE9bATfMSu+E+oQ+WZ/9gvo8T8Xv8lE=@vger.kernel.org X-Gm-Message-State: AOJu0YwCiP8XafO2Brib0QzvBg9EP3LPVZmEM0wqNUJTFT8zDHje5C52 +CfUXO3BH7nACy9spOe4e+r35r4zpsd8Qs5g4jQOFjNrMR33Fd5PJCapf9RCczDmlwA= X-Gm-Gg: AfdE7cm8v37mX4l+sJCD+qMM4Adrp+pCx9ioYVK9ocFtK3YV9t6b5dym39dsGEKMGUu aeY6lqGWwNoBV6Xnv2LpKDsBG6Whwts570jqryHXuQfYujZ3nnqyb1G7LlrMLql173sERrdBQY3 AXlsCI9h4qAOuCCEyfh84eJIzy7Sk4vDGpnEJq2ZhKNRkW0uj/mp74q8JWfFIo2Cwhd3cKV+v6R qIqiIvv2uRMOgxz9Kv3sE10QkMYc6lBM7pteh0lojmp1/VS8FscX3bcdQW8I72sbYsw9HQKN9vc jt17RhozEvp6U/o/mE4FEK9O8Y/iSG9EZdhfaii/J0pztqFX6i2YQR4Iioq+pj3/DSQErverz4N 2pwhqKcs2dX+znoqnuXN0fTjaTUiL4nItc8Enz90F+L9rAQOnFz0QwRJIbcdZ2n611iSael4u/d 1UzDGsZBQ8ED53AbRhMBIPbXKq+FpHZUQOiOypJwMygu5xTjWRgiH9+9aneLGEgyKKiSQz X-Received: by 2002:a05:620a:d8e:b0:92e:9d63:a6f2 with SMTP id af79cd13be357-92ef2c1ab7bmr45629785a.70.1783709846741; Fri, 10 Jul 2026 11:57:26 -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 af79cd13be357-92ee5cfdf6fsm275995385a.24.2026.07.10.11.57.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jul 2026 11:57:26 -0700 (PDT) Date: Fri, 10 Jul 2026 14:57:21 -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 23/30] mm/vma: make vma_set_range() static, drop insert_vm_struct() decl Message-ID: References: <62efd70f9f39570724c9552cc7f2aeb5c322b2ff.1782735110.git.ljs@kernel.org> Precedence: bulk X-Mailing-List: linux-parisc@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: <62efd70f9f39570724c9552cc7f2aeb5c322b2ff.1782735110.git.ljs@kernel.org> On Mon, Jun 29, 2026 at 01:23:34PM +0100, Lorenzo Stoakes wrote: > With __install_special_mapping() moved to vma.c, vma_set_range() can be > made into a static function there and is now completely isolated from the > rest of mm. > > While we're here, we can also remove the insert_vm_struct() declaration > from mm.h - the function is implemented in vma.c and already declared in > vma.h, and has no users outside of mm. > > Also update the VMA userland tests to reflect this change. > > No functional change intended. > > Signed-off-by: Lorenzo Stoakes > --- > 5 files changed, 8 insertions(+), 24 deletions(-) Net negative lines of code, the best kind of commit Reviewed-by: Gregory Price