kmemleak: support for percpu memory leak detect
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 0 repliesNew 1 of 2 applied
- v12 patches 3 repliesSuperseded 1 of 2 applied
Patches in v2 1 of 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | kmemleak: enable tracking for percpu pointersmm/ | +94 | 0 replies | Applied |
| 2/2 | kmemleak-test: add percpu leaksamples/ | +2 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Catalin Marinas |
|---|---|
| 1/2 | R-b |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] kmemleak: support for percpu memory leak detect
This is a rework of this series:
https://lore.kernel.org/lkml/[email protected]/
Originally I was investigating a percpu leak on our customer nodes and having this functionality was a huge help, which lead to this fix [1].
So probably it's a good idea to have it in mainstream too, especially as after [2] it became much easier to implement (we already have a separate tree for percpu pointers).
commit 0af8c09c89681 ("netfilter: x_tables: fix percpu counter block leak on error path when creating new netns") [1]
commit 39042079a0c24 ("kmemleak: avoid RCU stalls when freeing metadata for per-CPU pointers") [2]
Pavel Tikhomirov (2):
kmemleak: enable tracking for percpu pointers
kmemleak-test: add percpu leak
mm/kmemleak.c | 153 +++++++++++++++++++------------ samples/kmemleak/kmemleak-test.c | 2 + 2 files changed, 96 insertions(+), 59 deletions(-)
Signature · 1 line
2.45.2