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 75E6E3DC4C7; Wed, 18 Mar 2026 14:42:38 +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=1773844958; cv=none; b=IMmnywadryJzNBoRBy72YEpuKNh9cPCjGIZCv73hYUelbsKAscUKNAeHLB6zDiHIEVPokpYn65OjhLUJ0W5WC+SV94vwqYskjwZpbIKWdm6hE2/dqelmR8SyQWMpfj+0u5ymS0U7uhUa1RkPsDo4Dd7s3ng3uaLAy4PpIuulvF4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773844958; c=relaxed/simple; bh=o3Vqfegoze9voxgxHT8hNS1xVKI7tWzSZbrQEQde8dg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=WV3SWjLh8hj3fqw6Rog5l3UqmN/Dar+cHyQ32yPajsZl0m9zJ3wNm/bE0SPFqQwIEAH2WZ5R+BpQ9hOLsboLOCm0Mj40nn8q20vXrLsDYO3BW1Of7b1kmZ0/JfMDIPH1h9jgN65QigKQXoiRefFwYDoSRJ7J6Z2UPnaWHRzSDF8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Brfo6kwq; 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="Brfo6kwq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 84C9AC19421; Wed, 18 Mar 2026 14:42:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1773844958; bh=o3Vqfegoze9voxgxHT8hNS1xVKI7tWzSZbrQEQde8dg=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=Brfo6kwquW7beM2eQzf+4i3bKNLjG6pitESp5wXj5j3/u4EMe+7TKVtW2kDQi189b ksXjz2HFO5CzN39JGKjLjl5Cz6xte8b16X4vUnfN0qyNtCbUwrFXww9J7LQMWeH4tV XxLcTaXa36dEp3pR9f5ACT1A0MF31tlrAm2w9z71HsxNJA+lhDEy4wTslHSjno+Jr+ oUiTxttBYh7Xfz9WqNET76CHoWG5D2z7or5j/VSvQHP6oD/BMerKadPNSlJmAi/h8i 4hOfDPVsWi8QZQJI/KS7nt3ccmQBTwTGOCza7YTyeCo9Fsju2QNwapLG0bKt1L3tAC KTJlXh0jWxX4A== Message-ID: Date: Wed, 18 Mar 2026 15:42:24 +0100 Precedence: bulk X-Mailing-List: linux-hexagon@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 03/23] mm/vma: add further vma_flags_t unions Content-Language: en-US To: "Lorenzo Stoakes (Oracle)" , Andrew Morton Cc: David Hildenbrand , "Liam R . Howlett" , Jann Horn , Pedro Falcato , Mike Rapoport , Suren Baghdasaryan , Kees Cook , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Vineet Gupta , Russell King , Catalin Marinas , Will Deacon , Brian Cain , Huacai Chen , WANG Xuerui , Thomas Bogendoerfer , Dinh Nguyen , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , Christophe Leroy , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H . Peter Anvin" , Richard Weinberger , Anton Ivanov , Johannes Berg , Alexander Viro , Christian Brauner , Jan Kara , Xu Xin , Chengming Zhou , Michal Hocko , Paul Moore , Stephen Smalley , Ondrej Mosnacek , linux-snps-arc@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-hexagon@vger.kernel.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-um@lists.infradead.org, linux-fsdevel@vger.kernel.org, selinux@vger.kernel.org References: From: "Vlastimil Babka (SUSE)" In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 3/16/26 14:07, Lorenzo Stoakes (Oracle) wrote: > In order to utilise the new vma_flags_t type, we currently place it in > union with legacy vm_flags fields of type vm_flags_t to make the transition > smoother. > > Add vma_flags_t union entries for mm->def_flags and vmg->vm_flags - > mm->def_vma_flags and vmg->vma_flags respectively. > > Once the conversion is complete, these will be replaced with vma_flags_t > entries alone. > > Also update the VMA tests to reflect the change. > > Signed-off-by: Lorenzo Stoakes (Oracle) Acked-by: Vlastimil Babka (SUSE)