-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #491 from sched-ext/bpfland-primary-domain
scx_bpfland: primary domain
- Loading branch information
Showing
7 changed files
with
276 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "scx_bpfland" | ||
version = "1.0.2" | ||
authors = ["Andrea Righi <righi.andrea@gmail.com>", "Canonical"] | ||
authors = ["Andrea Righi <andrea[email protected]>"] | ||
edition = "2021" | ||
description = "A vruntime-based sched_ext scheduler that prioritizes interactive workloads. https://github.com/sched-ext/scx/tree/main" | ||
license = "GPL-2.0-only" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Copyright (c) Andrea Righi <righi.andrea@gmail.com> | ||
// Copyright (c) Andrea Righi <andrea[email protected]> | ||
// | ||
// This software may be used and distributed according to the terms of the | ||
// GNU General Public License version 2. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* SPDX-License-Identifier: GPL-2.0 */ | ||
/* | ||
* Copyright (c) 2024 Andrea Righi <righi.andrea@gmail.com> | ||
* Copyright (c) 2024 Andrea Righi <andrea[email protected]> | ||
* | ||
* This software may be used and distributed according to the terms of the GNU | ||
* General Public License version 2. | ||
|
@@ -15,9 +15,9 @@ | |
#define CLAMP(val, lo, hi) MIN(MAX(val, lo), hi) | ||
|
||
enum consts { | ||
NSEC_PER_USEC = 1000ULL, | ||
NSEC_PER_MSEC = (1000ULL * NSEC_PER_USEC), | ||
NSEC_PER_SEC = (1000ULL * NSEC_PER_MSEC), | ||
NSEC_PER_USEC = 1000ULL, | ||
NSEC_PER_MSEC = (1000ULL * NSEC_PER_USEC), | ||
NSEC_PER_SEC = (1000ULL * NSEC_PER_MSEC), | ||
}; | ||
|
||
#ifndef __VMLINUX_H__ | ||
|
@@ -34,4 +34,8 @@ typedef signed long s64; | |
typedef int pid_t; | ||
#endif /* __VMLINUX_H__ */ | ||
|
||
struct cpu_arg { | ||
s32 cpu_id; | ||
}; | ||
|
||
#endif /* __INTF_H */ |
Oops, something went wrong.