Skip to content

Instantly share code, notes, and snippets.

View jklincn's full-sized avatar

jklincn jklincn

  • University of Chinese Academy of Sciences (UCAS)
  • Beijing, China
  • 19:30 (UTC +08:00)
View GitHub Profile
@jklincn
jklincn / mypatch
Last active March 13, 2024 11:06
linux-3.19.8 patch for optimizing the kernel scheduling performance for data-intensive programs
diff --color -uprN linux-3.19.8/include/linux/sched.h linux-3.19.8.changed/include/linux/sched.h
--- linux-3.19.8/include/linux/sched.h 2015-05-11 12:34:10.000000000 +0000
+++ linux-3.19.8.changed/include/linux/sched.h 2023-04-30 11:07:41.226266056 +0000
@@ -1164,6 +1164,8 @@ struct sched_entity {
struct list_head group_node;
unsigned int on_rq;
+ unsigned int data_intensive;
+
u64 exec_start;