Skip to content

alloc_tag: two fixes and one cleanup

David Hildenbrand (Arm) linux-mm stable 1 version In review

Get series with b4
b4 am [email protected] change-id 20261119-alloc_tag-57326f1fcc85

Versions newest first

  1. v1 Latest3 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3alloc_tag: handle a NULL tag in alloc_tag_set_inaccurate()include/linux/alloc_tag.h mm/page_alloc.c+3 -31 reply
2/3mempool: fix missing alloc tagging in mempool_resize()include/linux/mempool.h mm/mempool.c+5 -31 reply
3/3mempool: account the element array to the callerinclude/linux/mempool.h mm/mempool.c+10 -123 replies

Reviews trailers per patch

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

PatchHarry Yoo (Meta)
1/3R-b
2/3R-b
3/3R-b

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

Read the v1 thread

Cover letter [PATCH 0/3] alloc_tag: two fixes and one cleanup

Hi,

two fixes (one for alloc_tag as triggered by slab, one for mempool) and one related cleanup to make things consistent.

Quickly reproduced and tested the warnings in a x86-64 VM.

This should go through Andrew's tree. No need to rush, it can wait until the next merge window.

---
Chris Mason (1):
mempool: fix missing alloc tagging in mempool_resize()

David Hildenbrand (Arm) (2):
alloc_tag: handle a NULL tag in alloc_tag_set_inaccurate()
mempool: account the element array to the caller

 include/linux/alloc_tag.h |  3 ++-
 include/linux/mempool.h   |  7 +++----
 mm/mempool.c              | 23 ++++++++++++-----------
 mm/page_alloc.c           |  3 +--
 4 files changed, 18 insertions(+), 18 deletions(-)

---
base-commit: 4405c18c95d2d0f99f6c581ef0ee8591a1aa6ccd
change-id: 20261119-alloc_tag-57326f1fcc85

Best regards,

Signature · 1 line
David Hildenbrand (Arm) <[email protected]>