RFC mm/damon: handle zero {sample,aggr} intervals for DAMOS quota score
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 4 repliesIn review
Changes from v1 from the cover letter
- v1: https://lore.kernel.org/[email protected]
- Add out-of-bound array access bug fix as patch 2.
- Add the RFC tag again.
Changes from RFC v1.1
- RFC v1.1: https://lore.kernel.org/[email protected]
- Wordsmith commit message.
- Drop RFC tag.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | mm/damon/core: handle zero intervals in damon_max_nr_accesses()include/ | +6 | 1 reply | |
| 2/2 | mm/damon/ops-common: prevent >DAMON_MAX_SUBSCORE freq_subscoremm/ | +3 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH v1.2 0/2] mm/damon: handle zero {sample,aggr} intervals for DAMOS quota score
When the intervals are zero, divide-by-zero can happen during DAMOS quota score calculation. Fixing it alone enables out-of-bound array access. Fix those.
Changes from v1
- v1: https://lore.kernel.org/[email protected]
- Add out-of-bound array access bug fix as patch 2.
- Add the RFC tag again.
Changes from RFC v1.1
- RFC v1.1: https://lore.kernel.org/[email protected]
- Wordsmith commit message.
- Drop RFC tag.
Changes from RFC v1
- RFC v1: https://lore.kernel.org/[email protected]
- Handle zero aggr_interval case.
SeongJae Park (2):
mm/damon/core: handle zero intervals in damon_max_nr_accesses() mm/damon/ops-common: prevent >DAMON_MAX_SUBSCORE freq_subscore
include/linux/damon.h | 8 ++++++-- mm/damon/ops-common.c | 3 +++ 2 files changed, 9 insertions(+), 2 deletions(-)
base-commit: 42306d32afd75f28e3f13a1259c3b52191b4ff2c
Signature · 1 line
2.47.3