Skip to content

Instantly share code, notes, and snippets.

View wineway's full-sized avatar
🍊

wangyuwei wineway

🍊
View GitHub Profile
@leverich
leverich / patch-3.5.0-bvt1
Last active March 3, 2023 06:18
Borrowed Virtual Time patch against Linux 3.5.0
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 4a1f493..ef258ef 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1179,6 +1179,10 @@ struct sched_entity {
u64 exec_start;
u64 sum_exec_runtime;
u64 vruntime;
+#ifdef CONFIG_CFS_BVT
+ u64 effective_vruntime;