RFC mm/damon: fix damon_call()-related leak and deadlock
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | mm/damon/sysfs: dealloc repeat_call_control if damon_call() failsmm/ | +2 | 0 replies | |
| 2/2 | mm/damon/core: fix damon_call() vs kdamond_fn() exit race deadlockinclude/ mm/ | +11 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/2] mm/damon: fix damon_call()-related leak and deadlock
DAMON_SYSFS can leak memory due to improper handling of damon_call() failure. It can also cause a deadlock due to a race between damon_call() and kdamond_fn() termination. Fix those.
SeongJae Park (2):
mm/damon/sysfs: dealloc repeat_call_control if damon_call() fails mm/damon/core: fix damon_call() vs kdamond_fn() exit race deadlock
include/linux/damon.h | 1 + mm/damon/core.c | 41 ++++++++++------------------------------- mm/damon/sysfs.c | 3 ++- 3 files changed, 13 insertions(+), 32 deletions(-)
base-commit: 2b3fbc1796d335685d9b7a825c621914a1c97d1d
Signature · 1 line
2.47.3