[PATCH v3 0/2] refactors thpsize_shmem_enabled_store() and thpsize_shmem_enabled_show()

ranxiaokai627@163.com posted 2 patches 6 days, 16 hours ago
mm/shmem.c | 143 +++++++++++++++++++++++++++++++----------------------
1 file changed, 83 insertions(+), 60 deletions(-)
[PATCH v3 0/2] refactors thpsize_shmem_enabled_store() and thpsize_shmem_enabled_show()
Posted by ranxiaokai627@163.com 6 days, 16 hours ago
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