Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1BENCH_PAGE_POOL_SIMPLE_TEST_DIR := $(realpath $(dir $(abspath $(lastword $(MAKEFILE_LIST)))))
2KDIR ?= /lib/modules/$(shell uname -r)/build
3
4ifeq ($(V),1)
5Q =
6else
7Q = @
8endif
9
10obj-m += bench_page_pool.o
11bench_page_pool-y += bench_page_pool_simple.o time_bench.o
12
13all:
14 +$(Q)make -C $(KDIR) M=$(BENCH_PAGE_POOL_SIMPLE_TEST_DIR) modules
15
16clean:
17 +$(Q)make -C $(KDIR) M=$(BENCH_PAGE_POOL_SIMPLE_TEST_DIR) clean