1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (c) 2022 Meta, Inc */ 3 4 #ifndef __SCX_USERLAND_COMMON_H 5 #define __SCX_USERLAND_COMMON_H 6 7 /* 8 * An instance of a task that has been enqueued by the kernel for consumption 9 * by a user space global scheduler thread. 10 */ 11 struct scx_userland_enqueued_task { 12 __s32 pid; 13 u64 sum_exec_runtime; 14 u64 weight; 15 }; 16 17 #endif // __SCX_USERLAND_COMMON_H 18