Skip to content

Minor fixes for memory allocation profiling

Suren Baghdasaryan linux-mm lkml 2 versions – Applied

Status from this message: [merged mm-stable] alloc_tag-avoid-warnings-when-freeing-non-compound-tail-pages.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyApplied 3/3
  2. v13 patches 11 repliesSuperseded

Patches in v2 All 3 applied

#Subject and filesSizeRepliesApplied
1/3alloc_tag: use release_pages() in the cleanup pathlib/alloc_tag.c+5 -50 repliesApplied
2/3alloc_tag: prevent enabling memory profiling if it was shut downlib/alloc_tag.c+15 -10 repliesApplied
3/3alloc_tag: avoid warnings when freeing non-compound "tail" pagesmm/page_alloc.c+8 -11 replyApplied

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchShakeel ButtUsama Arif
1/3A-b A-b
2/3A-b A-b
3/3A-b A-b

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

Read the v2 thread

Cover letter [PATCH v2 0/3] Minor fixes for memory allocation profiling

Over the last couple months I gathered a few reports of minor issues in memory allocation profiling which are addressed in this patchset.

Patchset is based on mm-new after reverting previous version.

Changes since v1 [1]:
- Use release_pages() in free_mod_tags_mem() in [1/3], per Usama Arif
- Add comment for proc_mem_profiling_handler() in [2/3], per Usama Arif
- Add Acked-by, per Shakeel Butt and Usama Arif
- Fixed a typo in [1/3] changelog

[1] https://lore.kernel.org/all/[email protected]/

Suren Baghdasaryan (3):
alloc_tag: use release_pages() in the cleanup path
alloc_tag: prevent enabling memory profiling if it was shut down
alloc_tag: avoid warnings when freeing non-compound "tail" pages

 lib/alloc_tag.c | 26 ++++++++++++++++++++------
 mm/page_alloc.c |  9 ++++++++-
 2 files changed, 28 insertions(+), 7 deletions(-)
Signature · 1 line
2.51.0.384.g4c02a37b29-goog