1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * A completely minimal scheduler. 4 * 5 * This scheduler defines the absolute minimal set of struct sched_ext_ops 6 * fields: its name. It should _not_ fail to be loaded, and can be used to 7 * exercise the default scheduling paths in ext.c. 8 * 9 * Copyright (c) 2023 Meta Platforms, Inc. and affiliates. 10 * Copyright (c) 2023 David Vernet <dvernet@meta.com> 11 * Copyright (c) 2023 Tejun Heo <tj@kernel.org> 12 */ 13 14 #include <scx/common.bpf.h> 15 16 char _license[] SEC("license") = "GPL"; 17 18 SEC(".struct_ops.link") 19 struct sched_ext_ops minimal_ops = { 20 .name = "minimal", 21 }; 22
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.