aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/memblock.h
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2025-01-06 11:33:51 -0800
committerAndrew Morton <akpm@linux-foundation.org>2025-01-25 20:22:27 -0800
commitc0cb9d91bf297fdcd3bd3126d793a22e720e1990 (patch)
tree5418392e7c78c0d38d510c78416048a614f79c60 /include/linux/memblock.h
parentmm/damon/paddr: report filter-passed bytes back for normal actions (diff)
downloadwireguard-linux-c0cb9d91bf297fdcd3bd3126d793a22e720e1990.tar.xz
wireguard-linux-c0cb9d91bf297fdcd3bd3126d793a22e720e1990.zip
mm/damon/paddr: report filter-passed bytes back for DAMOS_STAT action
DAMOS_STAT action handling of paddr DAMON operations set implementation is simply ignoring the region-internal DAMOS filters, and therefore not reporting back the filter-passed bytes. Apply the filters and report back the information. Before this change, DAMOS_STAT was doing nothing for DAMOS filters. Hence users might see some performance regressions. Such regression for use cases where no region-internal DAMOS filter is added to the scheme will be negligible, since this change avoids unnecessary filtering works if no such filter is installed. For old users who are using DAMOS_STAT with the types of filters, the regression could be visible depending on the size of the region and the overhead of the installed DAMOS filters. But, because the filters were completely ignored before in the use case, no real users would really depend on such use case that makes no point. Link: https://lkml.kernel.org/r/20250106193401.109161-7-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/memblock.h')
0 files changed, 0 insertions, 0 deletions