linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] mm/damon: Enhance damon and its samples
@ 2025-06-22 12:09 Honggyu Kim
  2025-06-22 12:09 ` [PATCH 1/3] mm/damon: do not allow creating zero size region Honggyu Kim
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Honggyu Kim @ 2025-06-22 12:09 UTC (permalink / raw)
  To: SeongJae Park, damon; +Cc: Andrew Morton, linux-mm, kernel_team, Honggyu Kim

This includes random fixes of damon and its samples to make it safer and
consistent with other damon modules.

It includes the following changes.
- Fix unexpected divide by zero crash not allowing zero size region
- Keep "enabled" parameter in damon samples consistent with others
- Fix bugs for damon samples in case of start failures

Honggyu Kim (3):
  mm/damon: do not allow creating zero size region
  samples/damon: change enable parameters to enabled
  samples/damon: fix bugs for damon sample for start failures

 mm/damon/core.c       |  3 +++
 samples/damon/mtier.c | 22 +++++++++++++---------
 samples/damon/prcl.c  | 22 +++++++++++++---------
 samples/damon/wsse.c  | 22 +++++++++++++---------
 4 files changed, 42 insertions(+), 27 deletions(-)


base-commit: e04c78d86a9699d136910cfc0bdcf01087e3267e
-- 
2.34.1



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

end of thread, other threads:[~2025-06-27 11:29 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-22 12:09 [PATCH 0/3] mm/damon: Enhance damon and its samples Honggyu Kim
2025-06-22 12:09 ` [PATCH 1/3] mm/damon: do not allow creating zero size region Honggyu Kim
2025-06-22 16:04   ` SeongJae Park
2025-06-23  2:58     ` Honggyu Kim
2025-06-23 18:03       ` SeongJae Park
2025-06-25 22:24         ` Honggyu Kim
2025-06-26 15:27           ` SeongJae Park
2025-06-27 11:29             ` Honggyu Kim
2025-06-22 12:09 ` [PATCH 2/3] samples/damon: change enable parameters to enabled Honggyu Kim
2025-06-22 16:14   ` SeongJae Park
2025-06-23  3:04     ` Honggyu Kim
2025-06-22 12:09 ` [PATCH 3/3] samples/damon: fix bugs for damon sample for start failures Honggyu Kim
2025-06-22 16:29   ` SeongJae Park
2025-06-23  3:16     ` Honggyu Kim
2025-06-23 18:11       ` SeongJae Park
2025-06-25 22:27         ` Honggyu Kim
2025-06-26 15:28           ` SeongJae Park

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).