aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/mbcache.c
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2022-06-06 18:23:06 +0000
committerakpm <akpm@linux-foundation.org>2022-07-03 18:08:38 -0700
commitc9e124e0382d83d458db204f929002ea98daa6a8 (patch)
tree7c3f1f9a10a335ce423ff9706c8690968712cede /fs/mbcache.c
parentDocs/admin-guide/damon/reclaim: remove a paragraph that been obsolete due to online tuning support (diff)
downloadwireguard-linux-c9e124e0382d83d458db204f929002ea98daa6a8.tar.xz
wireguard-linux-c9e124e0382d83d458db204f929002ea98daa6a8.zip
mm/damon/{dbgfs,sysfs}: move target_has_pid() from dbgfs to damon.h
The function for knowing if given monitoring context's targets will have pid or not is defined and used in dbgfs only. However, the logic is also needed for sysfs. This commit moves the code to damon.h and makes both dbgfs and sysfs to use it. Link: https://lkml.kernel.org/r/20220606182310.48781-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 'fs/mbcache.c')
0 files changed, 0 insertions, 0 deletions