linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] mm/damon/core-test: Fix memory leaks in core-test
@ 2023-09-18  7:47 Jinjie Ruan
  2023-09-18  7:47 ` [PATCH v2 1/2] mm/damon/core-test: Fix memory leak in damon_new_region() Jinjie Ruan
  2023-09-18  7:47 ` [PATCH v2 2/2] mm/damon/core-test: Fix memory leak in damon_new_ctx() Jinjie Ruan
  0 siblings, 2 replies; 6+ messages in thread
From: Jinjie Ruan @ 2023-09-18  7:47 UTC (permalink / raw)
  To: sj, akpm, brendan.higgins, feng.tang, damon, linux-mm, kunit-dev,
	linux-kselftest, linux-kernel
  Cc: ruanjinjie

There are a few memory leak in core-test which is detected by kmemleak,
the patch set fix the above issue.

Changes in v2:
- Add Reviewed-by.
- Rebased on mm-unstable.
- Replace the damon_del_region() with damon_destroy_region() rather than
  calling damon_free_region().
- Update the commit message.

Jinjie Ruan (2):
  mm/damon/core-test: Fix memory leak in damon_new_region()
  mm/damon/core-test: Fix memory leak in damon_new_ctx()

 mm/damon/core-test.h | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

-- 
2.34.1



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-09-18 11:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-18  7:47 [PATCH v2 0/2] mm/damon/core-test: Fix memory leaks in core-test Jinjie Ruan
2023-09-18  7:47 ` [PATCH v2 1/2] mm/damon/core-test: Fix memory leak in damon_new_region() Jinjie Ruan
2023-09-18 11:00   ` SeongJae Park
2023-09-18 11:33     ` Ruan Jinjie
2023-09-18  7:47 ` [PATCH v2 2/2] mm/damon/core-test: Fix memory leak in damon_new_ctx() Jinjie Ruan
2023-09-18 11:03   ` SeongJae Park

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox