[PATCH v1 0/3] Modify memfd_luo code

From: Chenghao Duan

Date: Wed Mar 18 2026 - 21:30:42 EST


I found several modifiable points while reading the code. Please review.

Chenghao Duan (3):
mm/memfd_luo: optimize shmem_recalc_inode calls in retrieve path
mm/memfd_luo: remove unnecessary memset in zero-size memfd path
mm/memfd_luo: use i_size_write() to set inode size during retrieve

mm/memfd_luo.c | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)

--
2.25.1