Re: [PATCH 2/6] shmem: set shmem_writepage() variables early

From: David Hildenbrand
Date: Mon Mar 06 2023 - 09:00:33 EST


On 03.03.23 00:27, Luis Chamberlain wrote:
shmem_writepage() sets up variables typically used *after* a possible
huge page split. However even if that does happen the address space
mapping should not change, and the inode does not change either. So it
should be safe to set that from the very beginning.

This commit makes no functional changes.

Signed-off-by: Luis Chamberlain <mcgrof@xxxxxxxxxx>
---

Acked-by: David Hildenbrand <david@xxxxxxxxxx>

--
Thanks,

David / dhildenb