vaddr.c (448cc2fb3a7b327823a9afd374808c37b8e6194f) vaddr.c (8581fd402a0cf80b5298e3b225e7a7bd8f110e69)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * DAMON Primitives for Virtual Address Spaces
4 *
5 * Author: SeongJae Park <sjpark@amazon.de>
6 */
7
8#define pr_fmt(fmt) "damon-va: " fmt
9
10#include <asm-generic/mman-common.h>
11#include <linux/highmem.h>
12#include <linux/hugetlb.h>
13#include <linux/mmu_notifier.h>
14#include <linux/page_idle.h>
15#include <linux/pagewalk.h>
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * DAMON Primitives for Virtual Address Spaces
4 *
5 * Author: SeongJae Park <sjpark@amazon.de>
6 */
7
8#define pr_fmt(fmt) "damon-va: " fmt
9
10#include <asm-generic/mman-common.h>
11#include <linux/highmem.h>
12#include <linux/hugetlb.h>
13#include <linux/mmu_notifier.h>
14#include <linux/page_idle.h>
15#include <linux/pagewalk.h>
16#include <linux/sched/mm.h>
16
17#include "prmtv-common.h"
18
19#ifdef CONFIG_DAMON_VADDR_KUNIT_TEST
20#undef DAMON_MIN_REGION
21#define DAMON_MIN_REGION 1
22#endif
23

--- 640 unchanged lines hidden ---
17
18#include "prmtv-common.h"
19
20#ifdef CONFIG_DAMON_VADDR_KUNIT_TEST
21#undef DAMON_MIN_REGION
22#define DAMON_MIN_REGION 1
23#endif
24

--- 640 unchanged lines hidden ---