All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] refactors thpsize_shmem_enabled_store() and thpsize_shmem_enabled_show()
@ 2026-05-18 12:32 ranxiaokai627
  2026-05-18 12:32 ` [PATCH v3 1/2] mm: shmem: refactor thpsize_shmem_enabled_store() with sysfs_match_string() ranxiaokai627
  2026-05-18 12:32 ` [PATCH v3 2/2] mm: shmem: refactor thpsize_shmem_enabled_show() with helper arrays ranxiaokai627
  0 siblings, 2 replies; 15+ messages in thread
From: ranxiaokai627 @ 2026-05-18 12:32 UTC (permalink / raw)
  To: hughd, baolin.wang, akpm
  Cc: leitao, ljs, ziy, liam, npache, ryan.roberts, dev.jain, baohua,
	lance.yang, david, linux-mm, linux-kernel, ran.xiaokai,
	ranxiaokai627

From: Ran Xiaokai <ran.xiaokai@zte.com.cn>

This is v3 of the refactor of thpsize_shmem_enabled_store() and
thpsize_shmem_enabled_show() series.

Changes since v2:
 - Fix subject prefix to "mm: shmem:" as suggested by Baolin.
 - Some changes according to Lorenzo's comments:
   - Add cover letter and fix threading.
   - Add THP maintainers to the cc list.
   - Document the behavioral change regarding start_stop_khugepaged() in commit message.
   - Improve single letter variable names.
   - Simplify error handling and return values.

Ran Xiaokai (2):
  mm: shmem: refactor thpsize_shmem_enabled_store() with
    sysfs_match_string()
  mm: shmem: refactor thpsize_shmem_enabled_show() with helper arrays

 mm/shmem.c | 143 +++++++++++++++++++++++++++++++----------------------
 1 file changed, 83 insertions(+), 60 deletions(-)

-- 
2.25.1



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2026-05-25  7:53 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-18 12:32 [PATCH v3 0/2] refactors thpsize_shmem_enabled_store() and thpsize_shmem_enabled_show() ranxiaokai627
2026-05-18 12:32 ` [PATCH v3 1/2] mm: shmem: refactor thpsize_shmem_enabled_store() with sysfs_match_string() ranxiaokai627
2026-05-19  2:22   ` Baolin Wang
2026-05-21 13:17   ` Lance Yang
2026-05-22  8:07   ` Barry Song
2026-05-22 10:39   ` Lorenzo Stoakes
2026-05-22 10:55     ` Lorenzo Stoakes
2026-05-25  7:52     ` ranxiaokai627
2026-05-18 12:32 ` [PATCH v3 2/2] mm: shmem: refactor thpsize_shmem_enabled_show() with helper arrays ranxiaokai627
2026-05-21 13:18   ` Lance Yang
2026-05-22 10:34   ` Lorenzo Stoakes
2026-05-22 10:44     ` Barry Song
2026-05-22 10:56       ` Lorenzo Stoakes
2026-05-22 10:54     ` Lorenzo Stoakes
2026-05-22 11:36   ` Barry Song

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.