linux/mm/gup_test.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
#ifndef __GUP_TEST_H
#define __GUP_TEST_H

#include <linux/types.h>

#define GUP_FAST_BENCHMARK
#define PIN_FAST_BENCHMARK
#define PIN_LONGTERM_BENCHMARK
#define GUP_BASIC_TEST
#define PIN_BASIC_TEST
#define DUMP_USER_PAGES_TEST
#define PIN_LONGTERM_TEST_START
#define PIN_LONGTERM_TEST_STOP
#define PIN_LONGTERM_TEST_READ

#define GUP_TEST_MAX_PAGES_TO_DUMP

#define GUP_TEST_FLAG_DUMP_PAGES_USE_PIN

struct gup_test {};

#define PIN_LONGTERM_TEST_FLAG_USE_WRITE
#define PIN_LONGTERM_TEST_FLAG_USE_FAST

struct pin_longterm_test {};

#endif	/* __GUP_TEST_H */