Skip to content

mm: Convert sysfs sprintf family to sysfs_emit

Joe Perches linux-mm lkml 2 versions – Applied

Status from this message: [merged] mm-shmem-convert-shmem_enabled_show-to-use-sysfs_emit_at.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 0 repliesApplied 5/5
  2. v15 patches 14 repliesSuperseded

Patches in v2 All 5 applied

#Subject and filesSizeRepliesApplied
1/5mm: Use sysfs_emit for struct kobject * usesmm/huge_memory.c mm/hugetlb.c mm/khugepaged.c +2 more+52 -460 repliesApplied
2/5mm: huge_memory: Convert remaining use of sprintf to sysfs_emit and neateningmm/huge_memory.c+31 -210 repliesApplied
3/5mm:backing-dev: Use sysfs_emit in macro defining functionsmm/backing-dev.c+4 -40 repliesApplied
4/5mm: shmem: Convert shmem_enabled_show to use sysfs_emit_atmm/shmem.c+12 -90 repliesApplied
5/5mm: slub: Convert sysfs sprintf family to sysfs_emit/sysfs_emit_atmm/slub.c+77 -730 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH V2 0/5] mm: Convert sysfs sprintf family to sysfs_emit

Use the new sysfs_emit family and not the sprintf family.

V2: Correct missing page test defect in mm/slub.c slabs_cpu_partial_show()
Trivial update to commit message in mm: shmem

Joe Perches (5):
mm: Use sysfs_emit for struct kobject * uses
mm: huge_memory: Convert remaining use of sprintf to sysfs_emit and
neatening
mm:backing-dev: Use sysfs_emit in macro defining functions
mm: shmem: Convert shmem_enabled_show to use sysfs_emit_at
mm: slub: Convert sysfs sprintf family to sysfs_emit/sysfs_emit_at

 mm/backing-dev.c |   8 +--
 mm/huge_memory.c |  56 +++++++++++-------
 mm/hugetlb.c     |  13 ++--
 mm/khugepaged.c  |  22 +++----
 mm/ksm.c         |  32 +++++-----
 mm/shmem.c       |  21 ++++---
 mm/slub.c        | 150 ++++++++++++++++++++++++-----------------------
 mm/swap_state.c  |   3 +-
 8 files changed, 164 insertions(+), 141 deletions(-)
Signature · 1 line
2.26.0