diff options
author | 2023-12-13 19:03:34 +0000 | |
---|---|---|
committer | 2023-12-20 14:48:13 -0800 | |
commit | 5e06ad5900964a293da4bca2034899772efb02d4 (patch) | |
tree | 25db33274bd2bb52922454a4951df5fa01e5e553 /include/linux/gfp_types.h | |
parent | mm/damon: update email of SeongJae (diff) | |
download | wireguard-linux-5e06ad5900964a293da4bca2034899772efb02d4.tar.xz wireguard-linux-5e06ad5900964a293da4bca2034899772efb02d4.zip |
mm/damon/core-test: test max_nr_accesses overflow caused divide-by-zero
Commit 35f5d94187a6 ("mm/damon: implement a function for max nr_accesses
safe calculation") has fixed an overflow bug that could cause
divide-by-zero. Add a kunit test for the bug to ensure similar bugs are
not introduced again.
Link: https://lkml.kernel.org/r/20231213190338.54146-3-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/gfp_types.h')
0 files changed, 0 insertions, 0 deletions