[PATCH 0/7] Some random fixes and cleanups to shmem

Kemeng Shi posted 7 patches 6 months, 2 weeks ago
include/linux/shmem_fs.h |   4 +
mm/filemap.c             |   2 +-
mm/internal.h            |   2 +
mm/shmem.c               | 169 ++++++++++++++++++++++++++-------------
4 files changed, 121 insertions(+), 56 deletions(-)
[PATCH 0/7] Some random fixes and cleanups to shmem
Posted by Kemeng Shi 6 months, 2 weeks ago
This series contains more fixes and cleanups which are made during
learning shmem. Patch 1-3 are some random fixes; Patch 4-7 are some
random cleanups. More details can be found in respective patches. Thanks!

Kemeng Shi (7):
  mm: shmem: correctly pass alloced parameter to shmem_recalc_inode() to
    avoid WARN_ON()
  mm: shmem: avoid setting error on splited entries in
    shmem_set_folio_swapin_error()
  mm: shmem: avoid missing entries in shmem_undo_range() when entries
    was splited concurrently
  mm: shmem: handle special case of shmem_recalc_inode() in it's caller
  mm: shmem: wrap additional shmem quota related code with
    CONFIG_TMPFS_QUOTA
  mm: shmem: simplify error flow in thpsize_shmem_enabled_store()
  mm: shmem: eliminate unneeded page counting in
    shmem_unuse_swap_entries()

 include/linux/shmem_fs.h |   4 +
 mm/filemap.c             |   2 +-
 mm/internal.h            |   2 +
 mm/shmem.c               | 169 ++++++++++++++++++++++++++-------------
 4 files changed, 121 insertions(+), 56 deletions(-)

-- 
2.30.0
Re: [PATCH 0/7] Some random fixes and cleanups to shmem
Posted by Andrew Morton 6 months, 2 weeks ago
On Fri,  6 Jun 2025 06:10:30 +0800 Kemeng Shi <shikemeng@huaweicloud.com> wrote:

> This series contains more fixes and cleanups which are made during
> learning shmem. Patch 1-3 are some random fixes; Patch 4-7 are some
> random cleanups. More details can be found in respective patches. Thanks!

Thanks.  I'll skip v1, wait to see what reviewers have to say.  Please
poke me in a week or so if you think I should proceed with the v1 series.