Skip to content

followups to debug_pagealloc improvements through page_owner

Vlastimil Babka linux-mm lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 1 replyIn review
  2. v23 patches 13 repliesSuperseded
  3. v10 of 3 patches 0 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mm, page_owner: fix off-by-one error in __set_page_owner_handle()include/linux/page_ext.h mm/page_ext.c mm/page_owner.c+24 -220 replies
2/3mm, page_owner: decouple freeing stack trace from debug_pageallocDocumentation/dev-tools/kasan.rst mm/page_owner.c+10 -211 reply
3/3mm, page_owner: rename flag indicating that page is allocatedinclude/linux/page_ext.h mm/page_owner.c+7 -70 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchKirill A. ShutemovQian Cai
1/3A-b
2/3R-b
3/3

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

Read the v3 thread

Cover letter [PATCH v3 0/3] followups to debug_pagealloc improvements through page_owner

Changes since v2 [3]:

- Qian Cai suggested that the extra boot option and page_ext ops is unnecessary for a debugging option, unless somebody really complains about the overhead, with numbers. So patch 2 is greatly simplified.

These are followups to [1] which made it to Linus meanwhile. Patches 1 and 3 are based on Kirill's review, patch 2 on KASAN request [2]. It would be nice if all of this made it to 5.4 with [1] already there (or at least Patch 1).

[1] https://lore.kernel.org/linux-mm/[email protected]/
[2] https://lore.kernel.org/linux-arm-kernel/[email protected]/
[3] https://lore.kernel.org/linux-mm/[email protected]/

Vlastimil Babka (3):
mm, page_owner: fix off-by-one error in __set_page_owner_handle() mm, page_owner: decouple freeing stack trace from debug_pagealloc mm, page_owner: rename flag indicating that page is allocated

 Documentation/dev-tools/kasan.rst |  3 ++
 include/linux/page_ext.h          | 10 +++++-
 mm/page_ext.c                     | 23 +++++--------
 mm/page_owner.c                   | 55 +++++++++++--------------------
 4 files changed, 41 insertions(+), 50 deletions(-)
Signature · 1 line
2.23.0