Re: [PATCH 13/36] sched_ext: Add scx_simple and scx_example_qmap example schedulers

From: Tejun Heo
Date: Sun Nov 12 2023 - 13:25:13 EST


On Sun, Nov 12, 2023 at 12:17:07PM +0800, kernel test robot wrote:
> Hi Tejun,
>
> kernel test robot noticed the following build errors:
>
> [auto build test ERROR on linux/master]
> [also build test ERROR on linus/master next-20231110]
> [cannot apply to tip/sched/core tj-cgroup/for-next v6.6]
> [If your patch is applied to the wrong git tree, kindly drop us a note.

The patches are on top of bpf-next:

git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master

> And when submitting patch, we suggest to use '--base' as documented in
> https://git-scm.com/docs/git-format-patch#_base_tree_information]

Will do.

> url: https://github.com/intel-lab-lkp/linux/commits/Tejun-Heo/sched-Restructure-sched_class-order-sanity-checks-in-sched_init/20231111-145751
> base: linux/master
> patch link: https://lore.kernel.org/r/20231111024835.2164816-14-tj%40kernel.org
> patch subject: [PATCH 13/36] sched_ext: Add scx_simple and scx_example_qmap example schedulers
> reproduce: (https://download.01.org/0day-ci/archive/20231112/202311121239.GTR1obNe-lkp@xxxxxxxxx/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@xxxxxxxxx>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202311121239.GTR1obNe-lkp@xxxxxxxxx/
>
> All errors (new ones prefixed by >>):
>
> >> Makefile:83: *** Cannot find a vmlinux for VMLINUX_BTF at any of " ../../vmlinux /sys/kernel/btf/vmlinux /boot/vmlinux-5.9.0-0.bpo.2-amd64". Stop.

The example schedulers need the following options enabled.

CONFIG_BPF=y
CONFIG_SCHED_CLASS_EXT=y
CONFIG_BPF_SYSCALL=y
CONFIG_BPF_JIT=y
CONFIG_DEBUG_INFO_BTF=y
CONFIG_BPF_JIT_ALWAYS_ON=y
CONFIG_BPF_JIT_DEFAULT_ON=y

Thanks.

--
tejun