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