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 C3A53213E89 for ; Thu, 22 Jan 2026 23:31:41 +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=1769124701; cv=none; b=LVi4cB9HQ3ozo60MeuV8nMiq+7pDh0TifnvfM4EMqF//PfyLVVKLnE3mWRJErD72QAhX3FXlcLz4Lii40OKs1yvMNz8ENI6xVISL6UPcxpyR1yOjtdxIPLoWoA/FExZ+1WTuXcrMoVW2d2+LJC8NyedTJWhNO5tJuLhWcPhVvck= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769124701; c=relaxed/simple; bh=BraoVxjqtM39ShAuBBrmxXx6clK6QpGFDz4TP8y9rVU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=nCT6c5VwuiFPS8nrSPlam4hF6AGgp9VXEAANWXTDjfcQi40zjHmxFXJvBzKpy5kz/g9JjAOPYyoYqs1H+RxSk8ucglDq9YZqYT4ON8nmw3aWIspXfckRfN3kVNbvXUkl1iDDeHpoUHOMZKdfIA5DWYENmYYuNn9I0ubsw1lQumE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=U+pzm2ze; 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="U+pzm2ze" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 07474C116C6; Thu, 22 Jan 2026 23:31:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1769124700; bh=BraoVxjqtM39ShAuBBrmxXx6clK6QpGFDz4TP8y9rVU=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=U+pzm2zerVGXkyEmK/6NB+pBVJgsnVHTyAWZxcwfcdBplO6NXVD1MUCFxGUwxI7k5 6aB4Dj6YCvwXguGMt5YGR6KR1Itrl1enoPhaygPFZRS4OhAN+MNhi/GOxq5QZoSVo6 +XadsAO2f8K+x+WAhtcw/sXIdtTBqR13LLMw7lftDgMqvtsVQJEJfZGITGtJKn6y7C 9EiKdgbmxGC3WqTGzWrPATrht5NzP70AGBuMhymtN28Cx3Jj9itG1Fz1jPKghGdgMK sQ0hfj6EhgPbVxkYrS+kddQMW30jLoMs5bLzgLxDxvdGd1T7bAZaUCvEMunwLeYuk4 HzIW5dUWSj8hQ== Message-ID: Date: Fri, 23 Jan 2026 10:31:36 +1100 Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 09/13] mm: update all remaining mmap_prepare users to use vma_flags_t To: Lorenzo Stoakes , Andrew Morton Cc: linux-fsdevel@vger.kernel.org, linux-mm@kvack.org References: Content-Language: en-US From: Damien Le Moal Organization: Western Digital Research In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2026/01/23 3:06, Lorenzo Stoakes wrote: > We will be shortly removing the vm_flags_t field from vm_area_desc so we > need to update all mmap_prepare users to only use the dessc->vma_flags > field. > > This patch achieves that and makes all ancillary changes required to make > this possible. > > This lays the groundwork for future work to eliminate the use of vm_flags_t > in vm_area_desc altogether and more broadly throughout the kernel. > > While we're here, we take the opportunity to replace VM_REMAP_FLAGS with > VMA_REMAP_FLAGS, the vma_flags_t equivalent. > > No functional changes intended. > > Signed-off-by: Lorenzo Stoakes (reduced distribution list) For zonefs changes: Acked-by: Damien Le Moal -- Damien Le Moal Western Digital Research