Skip to content

Commit 0d92efb

Browse files
committed
scx_mitosis: add L3 awareness and work stealing
1 parent ba1924b commit 0d92efb

File tree

4 files changed

+357
-82
lines changed

4 files changed

+357
-82
lines changed

scheds/rust/scx_mitosis/src/bpf/dsq.bpf.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@
5858
*
5959
*/
6060

61-
#define DSQ_ERROR 0xFFFFFFFF; /* Error value for DSQ functions */
62-
6361
/* DSQ type enumeration */
6462
enum dsq_type {
6563
DSQ_UNKNOWN,

scheds/rust/scx_mitosis/src/bpf/intf.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ typedef _Bool bool;
2020

2121
/* ---- Work stealing config (compile-time) ------------------------------- */
2222
#ifndef MITOSIS_ENABLE_STEALING
23-
#define MITOSIS_ENABLE_STEALING 0
23+
#define MITOSIS_ENABLE_STEALING 1
2424
#endif
2525
/* ----------------------------------------------------------------------- */
2626

@@ -34,7 +34,6 @@ enum consts {
3434

3535
PCPU_BASE = 0x80000000,
3636
MAX_CG_DEPTH = 256,
37-
3837
};
3938

4039
/* Statistics */

0 commit comments

Comments
 (0)