mm/damon/sysfs: fix pid leaks from wrong error handlings
Status from this message: Queued the series for 6.12, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | mm/damon/sysfs: put target pids for damon_start() failuremm/ | +1 | 0 replies | |
| 2/2 | mm/damon/sysfs: put target pids for apply_inputs() failuremm/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 6.12.y 0/2] mm/damon/sysfs: fix pid leaks from wrong error handlings
DAMON sysfs interface can leak pids due to wrong error handlings. The issue in the mainline has been fixed with code refactoring. The refactoring is done with commits including 7114bc5e01cf ("mm/damon/core:
add cleanup_target() ops callback"). Porting all the refactoring
changes to old stable kernels will be challenging. Hence submitting this non-mainline hotfix series.
Changes from RFC
- RFC: https://lore.kernel.org/[email protected]
- Drop RFC tag.
SJ Park (2):
mm/damon/sysfs: put target pids for damon_start() failure mm/damon/sysfs: put target pids for apply_inputs() failure
mm/damon/sysfs.c | 2 ++ 1 file changed, 2 insertions(+)
base-commit: 355214ae5d8da08854c5749cc79b688e4ff265f7
Signature · 1 line
2.47.3