From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 DCFEF2D8DD0; Tue, 14 Jul 2026 02:25:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783995924; cv=none; b=PUDyaMA2Qqq50SA1m+5g8R24/APpgqE0GA2cexT7AWTV+xtej1SlpXz5J3U84X1dh/U3Lu5eZtHUHd7TxTIhVs2lbA5cmAhUSq/2fafMhp5VklcmvmAwM21+cLao1P7LnafWAoHba89i1jxDq/vKfvurgrFc9S0GXKY9L4k1Rw0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783995924; c=relaxed/simple; bh=tKXHQuobhjt0fgufEcd/UFqdLr8OpUHkdN2Iy9HZlHY=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=h0l96NC6v8272vXZGjiPof0liItlXzx57PwaeEY1fNo85TX4XcAtzLg4cOOxN7ULLc5VJE6BV2CwISlAfRwBTrdExjeWjGC9ltByYQvt4hGL9Vbc409BsyKU3omMPAX30XOZ9/pHlgZ/NeOf8enyHyWYm29wlvsGjfaryn+aU0Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=b48cJk93; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="b48cJk93" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 93DE31F000E9; Tue, 14 Jul 2026 02:25:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=korg; t=1783995922; bh=dxhqIlF4Nmwz7Dc6V0zHplATkq8zPUSt2q/Zds9EZa8=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=b48cJk93FtKmn41eVdolAVE/uzQX6EHo01Pnkn0OgnY1vIvJtpHyTyl3C+S0onbuL GGMGjmfE2JKefejiLP1J3PzT6MIi/Ch6j4XkBShkTRk15H8PEW9ZSYVvQQ/3WhTIGU P9nMjGwkFSOLhnsQCjHUwc7HZ389d5X722tVvR6w= Date: Mon, 13 Jul 2026 19:25:19 -0700 From: Andrew Morton To: Lorenzo Stoakes Cc: David Hildenbrand , "Liam R. Howlett" , Vlastimil Babka , Mike Rapoport , Suren Baghdasaryan , Michal Hocko , Thomas Bogendoerfer , Benjamin LaHaise , Alexander Viro , Christian Brauner , Jan Kara , Hugh Dickins , Baolin Wang , Jann Horn , Pedro Falcato , Muchun Song , Oscar Salvador , Zi Yan , Nico Pache , Ryan Roberts , Dev Jain , Barry Song , Lance Yang , Usama Arif , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , "Christophe Leroy (CS GROUP)" , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Lucas Stach , Russell King , Christian Gmeiner , Inki Dae , Seung-Woo Kim , Kyungmin Park , Krzysztof Kozlowski , Peter Griffin , Alim Akhtar , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Tvrtko Ursulin , Rob Clark , Dmitry Baryshkov , Abhinav Kumar , Jessica Zhang , Sean Paul , Marijn Suijten , Lyude Paul , Danilo Krummrich , Tomi Valkeinen , Sandy Huang , Heiko =?ISO-8859-1?Q?St=FCbner?= , Andy Yan , Thierry Reding , Mikko Perttunen , Jonathan Hunter , Gerd Hoffmann , Dmitry Osipenko , Gurchetan Singh , Chia-I Wu , Zack Rusin , Broadcom internal kernel review list , Matthew Brost , Thomas =?ISO-8859-1?Q?Hellstr=F6m?= , Oleksandr Andrushchenko , Helge Deller , Kees Cook , Jaroslav Kysela , Takashi Iwai , Boris Brezillon , Steven Price , Liviu Dudau , linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, linux-aio@kvack.org, linux-fsdevel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, dri-devel@lists.freedesktop.org, etnaviv@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, intel-gfx@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, nouveau@lists.freedesktop.org, linux-rockchip@lists.infradead.org, linux-tegra@vger.kernel.org, virtualization@lists.linux.dev, intel-xe@lists.freedesktop.org, xen-devel@lists.xenproject.org, linux-fbdev@vger.kernel.org, linux-sound@vger.kernel.org, Jani Nikula Subject: Re: [PATCH v2 00/13] mm: convert more vm_flags_t users to vma_flags_t Message-Id: <20260713192519.58113fa69c169d3f5f82e453@linux-foundation.org> In-Reply-To: <20260711-b4-vma-flags-mm-v2-0-0fa2357d5431@kernel.org> References: <20260711-b4-vma-flags-mm-v2-0-0fa2357d5431@kernel.org> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sat, 11 Jul 2026 19:44:57 +0100 Lorenzo Stoakes wrote: > This series makes further progress in converting usage of the deprecated > vm_flags_t type to its replacement, vma_flags_t. > > It focuses on mm, though updates some users of mm APIs also. > > It updates: > > * The core do_mmap() code path for VMA mapping. > * Unmapped area logic. > * The usage of mm->def_vma_flags. > * VMA page protection bit logic. > * General usage of VMA flags in core mm code, mlock, mprotect, mremap. Added to mm-new, thanks. And oh my, what a lot of pre-existing issues: https://sashiko.dev/#/patchset/20260711-b4-vma-flags-mm-v2-0-0fa2357d5431@kernel.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B692FC44508 for ; Tue, 14 Jul 2026 14:54:14 +0000 (UTC) Received: from kara.freedesktop.org (unknown [131.252.210.166]) by gabe.freedesktop.org (Postfix) with ESMTPS id DA5CB10ED8D; Tue, 14 Jul 2026 14:54:13 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="b48cJk93"; dkim-atps=neutral Received: from kara.freedesktop.org (localhost [127.0.0.1]) by kara.freedesktop.org (Postfix) with ESMTP id 9DF6F4713E; Tue, 14 Jul 2026 14:39:00 +0000 (UTC) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=lists.freedesktop.org; s=20240201; t=1784039940; b=pYVIxS1gfvvV7jDBFUrLzpLTcs3dQcla5+fDdnVW4WUDBCgdaWQ9m2F6kv3PW4PnX2wL4 emysYCTCpC8s59rhCeXu+hcocJ0LB6jjqXog/DOnXVnyFdlGcQ1Y7iGuSqURIWbNLcQclBz 1mdTxD2+G9MxqfhtOEY2h/jD3vCy//LS04PyJsDZELHgqa6dTTh+kg3P6RyZs64j1OwJ0/1 yu6XiixOthiIBNJfB6/xDjJGc57QMYU7+sqKLqyID9wBmlQ4doWFrRnevC5pAU0gEM6IECz IEV3GOKSp3iHAGHQ65az+ix/O0aaCBIw9qVYty6mSnAMwRG9bw6NHlVYzgwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.freedesktop.org; s=20240201; t=1784039940; h=from : sender : reply-to : subject : date : message-id : to : cc : mime-version : content-type : content-transfer-encoding : content-id : content-description : resent-date : resent-from : resent-sender : resent-to : resent-cc : resent-message-id : in-reply-to : references : list-id : list-help : list-unsubscribe : list-subscribe : list-post : list-owner : list-archive; bh=dxhqIlF4Nmwz7Dc6V0zHplATkq8zPUSt2q/Zds9EZa8=; b=eykWIQLAeZiul0+pjI1UdlXIbap4dD7js+041Ur8XNQ8skUHdKl4xiI2upZNxX2Tmp+NU fgalykI/5ThGEIjXyaq5S1wstlNpSL4lSGhuum9WpSYTosTcDsDZ8FoLhEzLBulkujdz9ec rsoKKjLSyjCCqVz/v/LIJG7aLH2mY7UXw74zEfM2qGKhQmVEZQOtCVlGRKYprLZeV926SFv 3g6YyhSPbA28fYfqDuspWhmYgVZio6/cZ+erwgD83q92cc7rIzd41xojZIqaSL0auKspdpa iziV8CntLus4VGBkSZd+bHq5cWeu9rp/nqmz/KCvJcCo6/300iU3N4Zj4N/Q== ARC-Authentication-Results: i=1; mail.freedesktop.org; dkim=pass header.d=linux-foundation.org; arc=none (Message is not ARC signed); dmarc=none Authentication-Results: mail.freedesktop.org; dkim=pass header.d=linux-foundation.org; arc=none (Message is not ARC signed); dmarc=none Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by kara.freedesktop.org (Postfix) with ESMTPS id 4DA3246812 for ; Tue, 14 Jul 2026 02:10:13 +0000 (UTC) Received: from tor.source.kernel.org (tor.source.kernel.org [172.105.4.254]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4A58010E1CC; Tue, 14 Jul 2026 02:25:24 +0000 (UTC) Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id AC9B660103; Tue, 14 Jul 2026 02:25:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 93DE31F000E9; Tue, 14 Jul 2026 02:25:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=korg; t=1783995922; bh=dxhqIlF4Nmwz7Dc6V0zHplATkq8zPUSt2q/Zds9EZa8=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=b48cJk93FtKmn41eVdolAVE/uzQX6EHo01Pnkn0OgnY1vIvJtpHyTyl3C+S0onbuL GGMGjmfE2JKefejiLP1J3PzT6MIi/Ch6j4XkBShkTRk15H8PEW9ZSYVvQQ/3WhTIGU P9nMjGwkFSOLhnsQCjHUwc7HZ389d5X722tVvR6w= Date: Mon, 13 Jul 2026 19:25:19 -0700 From: Andrew Morton To: Lorenzo Stoakes Subject: Re: [PATCH v2 00/13] mm: convert more vm_flags_t users to vma_flags_t Message-Id: <20260713192519.58113fa69c169d3f5f82e453@linux-foundation.org> In-Reply-To: <20260711-b4-vma-flags-mm-v2-0-0fa2357d5431@kernel.org> References: <20260711-b4-vma-flags-mm-v2-0-0fa2357d5431@kernel.org> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-MailFrom: akpm@linux-foundation.org X-Mailman-Rule-Hits: max-recipients X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-size; news-moderation; no-subject; digests; suspicious-header Message-ID-Hash: AHNQDRLIM2ZIOELAJNBT6X5AHSN37B7E X-Message-ID-Hash: AHNQDRLIM2ZIOELAJNBT6X5AHSN37B7E X-Mailman-Approved-At: Tue, 14 Jul 2026 14:38:59 +0000 CC: David Hildenbrand , "Liam R. Howlett" , Vlastimil Babka , Mike Rapoport , Suren Baghdasaryan , Michal Hocko , Thomas Bogendoerfer , Benjamin LaHaise , Alexander Viro , Christian Brauner , Jan Kara , Hugh Dickins , Baolin Wang , Jann Horn , Pedro Falcato , Muchun Song , Oscar Salvador , Zi Yan , Nico Pache , Ryan Roberts , Dev Jain , Barry Song , Lance Yang , Usama Arif , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , "Christophe Leroy (CS GROUP)" , Maarten Lankhorst , Maxime Ripard , Simona Vetter , Lucas Stach , Russell King , Christian Gmeiner , Inki Dae , Seung-Woo Kim , Kyungmin Park , Krzysztof Kozlowski , Peter Griffin , Alim Akhtar , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Tvrtko Ursulin , Rob Clark , Dmitry Baryshkov , Abhinav Kumar , Jessica Zhang , Sean Paul , Marijn Suijten , Danilo Krummrich , Tomi Valkeinen , Sandy Huang , Heiko =?ISO-8859-1?Q?St=FCbner?= , Andy Yan , Thierry Reding , Mikko Perttunen , Gerd Hoffmann , Dmitry Osipenko , Gurchetan Singh , Chia-I Wu , Zack Rusin , Broadcom internal kernel review list , Matthew Brost , Thomas =?ISO-8859-1?Q?Hellstr=F6m?= , Oleksandr Andrushchenko , Helge Deller , Kees Cook , Jaroslav Kysela , Takashi Iwai , Boris Brezillon , Steven Price , Liviu Dudau , linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, linux-aio@kvack.org, linux-fsdevel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, dri-devel@lists.freedesktop.org, etnaviv@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, intel-gfx@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, nouveau@lists.freedesktop.org, linux-rockchip@lists.infradead.org, linux-tegra@vger.kernel.org, virtualization@lists.linux.dev, intel-xe@lists.freedesktop.org, xen-devel@lists.xenproject.org, linux-fbdev@vger.kernel.org, linux-sound@vger.kernel.org, Jani Nikula X-Mailman-Version: 3.3.8 Precedence: list List-Id: Nouveau development list Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Sat, 11 Jul 2026 19:44:57 +0100 Lorenzo Stoakes wrote: > This series makes further progress in converting usage of the deprecated > vm_flags_t type to its replacement, vma_flags_t. > > It focuses on mm, though updates some users of mm APIs also. > > It updates: > > * The core do_mmap() code path for VMA mapping. > * Unmapped area logic. > * The usage of mm->def_vma_flags. > * VMA page protection bit logic. > * General usage of VMA flags in core mm code, mlock, mprotect, mremap. Added to mm-new, thanks. And oh my, what a lot of pre-existing issues: https://sashiko.dev/#/patchset/20260711-b4-vma-flags-mm-v2-0-0fa2357d5431@kernel.org