diff options
author | 2022-08-27 17:02:50 +0800 | |
---|---|---|
committer | 2022-09-11 20:26:04 -0700 | |
commit | 09876ae73945ca69550ce2cbe0538de11997fd94 (patch) | |
tree | 1fa17ba7d654f5b13338426dc759893c35ad2305 /fs/buffer.c | |
parent | mm: fix null-ptr-deref in kswapd_is_running() (diff) | |
download | linux-rng-09876ae73945ca69550ce2cbe0538de11997fd94.tar.xz linux-rng-09876ae73945ca69550ce2cbe0538de11997fd94.zip |
mm/damon: simplify the parameter passing for 'check_accesses'
Patch series "mm/damon: Simplify the damon regions access check", v2.
This patchset simplifies the operations when checking the damon regions
accesses.
This patch (of 2):
The parameter 'struct damon_ctx *ctx' isn't used in the functions
__damon_{p,v}a_check_access(), so we can remove it and simplify the
parameter passing.
Link: https://lkml.kernel.org/r/1661590971-20893-1-git-send-email-kaixuxia@tencent.com
Link: https://lkml.kernel.org/r/1661590971-20893-2-git-send-email-kaixuxia@tencent.com
Signed-off-by: Kaixu Xia <kaixuxia@tencent.com>
Reviewed-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/buffer.c')
0 files changed, 0 insertions, 0 deletions