From: Honggyu Kim <honggyu.kim@sk.com>
To: SeongJae Park <sj@kernel.org>, damon@lists.linux.dev
Cc: Andrew Morton <akpm@linux-foundation.org>,
linux-mm@kvack.org, kernel_team@skhynix.com,
Honggyu Kim <honggyu.kim@sk.com>
Subject: [PATCH v2 0/4] mm/damon: fix divide by zero and its samples
Date: Tue, 1 Jul 2025 17:19:22 +0900 [thread overview]
Message-ID: <20250701081927.1873-1-honggyu.kim@sk.com> (raw)
This includes damon fixes and its samples to make it safer when damon
sample start fails.
It includes the following changes.
- fix unexpected divide by zero crash for zero size regions
- fix bugs for damon samples in case of start failures
Honggyu Kim (4):
samples/damon: fix damon sample prcl for start failure
samples/damon: fix damon sample wsse for start failure
samples/damon: fix damon sample mtier for start failure
mm/damon: fix divide by zero in damon_get_intervals_score()
mm/damon/core.c | 5 ++++-
samples/damon/mtier.c | 8 ++++++--
samples/damon/prcl.c | 8 ++++++--
samples/damon/wsse.c | 8 ++++++--
4 files changed, 22 insertions(+), 7 deletions(-)
base-commit: d0b3b7b22dfa1f4b515fd3a295b3fd958f9e81af
--
2.34.1
next reply other threads:[~2025-07-01 8:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-01 8:19 Honggyu Kim [this message]
2025-07-01 8:19 ` [PATCH v2 1/4] samples/damon: fix damon sample prcl for start failure Honggyu Kim
2025-07-01 8:19 ` [PATCH v2 2/4] samples/damon: fix damon sample wsse " Honggyu Kim
2025-07-01 8:19 ` [PATCH v2 3/4] samples/damon: fix damon sample mtier " Honggyu Kim
2025-07-01 8:19 ` [PATCH v2 4/4] mm/damon: fix divide by zero in damon_get_intervals_score() Honggyu Kim
2025-07-01 17:00 ` SeongJae Park
2025-07-02 0:08 ` Honggyu Kim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250701081927.1873-1-honggyu.kim@sk.com \
--to=honggyu.kim@sk.com \
--cc=akpm@linux-foundation.org \
--cc=damon@lists.linux.dev \
--cc=kernel_team@skhynix.com \
--cc=linux-mm@kvack.org \
--cc=sj@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox