On Mon, 20 Jan 2025 18:19:59 +0000 Usama Arif <usamaarif642@xxxxxxxxx> wrote: > This is to gather statistics to check if memory regions of specific > access tempratures are backed by hugepages. This includes both THPs > and hugetlbfs. > This filter can help to observe and prove the effectivenes of > different schemes for shrinking/collapsing hugepages. > > Signed-off-by: Usama Arif <usamaarif642@xxxxxxxxx> Reviewed-by: SeongJae Park <sj@xxxxxxxxxx> > --- > v2 -> v3: > - expose hugepage via sysfs even if the kernel is > built without hugepage support. DAMON will just > just return 0. (SJ Park) > > v1 -> v2: > - Wrap DAMOS_FILTER_TYPE_HUGEPAGE case with > CONFIG_PGTABLE_HAS_HUGE_LEAVES (SJ Park) Thank you for writing and patiently revisioning this nice patch! Thanks, SJ [...]