Skip to content

RFC -mm-only hugetlb updates

Nishanth Aravamudan linux-mm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4mm: remove mm_init compilation dependency on CONFIG_DEBUG_MEMORY_INITmm/Makefile mm/mm_init.c+3 -21 reply
2/4mm: create /sys/kernel/mmDocumentation/ABI/testing/sysfs-kernel-mm include/linux/kobject.h mm/mm_init.c+23 -01 reply
3/4hugetlb: hang off of /sys/kernel/mm rather than /sys/kernelDocumentation/ABI/testing/sysfs-kernel-hugepages Documentation/ABI/testing/sysfs-kernel-mm-hugepages Documentation/vm/hugetlbpage.txt +1 more+39 -151 reply
4/4hugetlb: remove CONFIG_SYSFS dependencymm/hugetlb.c+0 -70 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchNick PigginMel Gorman
SeriesA-b
1/4A-b
2/4A-b
3/4A-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC PATCH 0/4] -mm-only hugetlb updates

As Nick requested, I've moved /sys/kernel/hugepages to /sys/kernel/mm/hugepages. I put the creation of the /sys/kernel/mm kobject in mm_init.c and that required removing the conditional compilation of that file. This also necessitated a bit of Documentation updates (and the addition of the /sys/kernel/mm ABI file). Finally, I realized that kobject usage doesn't require CONFIG_SYSFS, so I was able to remove one ifdef from hugetlb.c.

Andrew, I believe these patches, if acceptable, should be folded in place, if possible, in the hugetlb series (that is, the sysfs location should only ever have appeared to be /sys/kernel/mm/hugepages). The ease with which that can occur I guess depends on where Mel's DEBUG_MEMORY_INIT patches are in the series.

1/4: mm: remove mm_init compilation dependency on CONFIG_DEBUG_MEMORY_INIT 2/4: mm: create /sys/kernel/mm
3/4: hugetlb: hang off of /sys/kernel/mm rather than /sys/kernel 4/4: hugetlb: remove CONFIG_SYSFS dependency

Thanks,
Nish

Signature · 8 lines
Nishanth Aravamudan <[email protected]>
IBM Linux Technology Center

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>