Port the prjc fix for 5.16/5.17 to 5.15 for 5.15.27 changes
This commit is contained in:
2
PKGBUILD
2
PKGBUILD
@@ -657,7 +657,7 @@ case $_basever in
|
||||
'68659b54bd0c0539c22869feea8017faf947af6883d75c00089f2bfd9f265f8e'
|
||||
'9fad4a40449e09522899955762c8928ae17f4cdaa16e01239fd12592e9d58177'
|
||||
'978b197efa56781a1d5651a3649c3d8b926d55748b4b9063788dfe1a861fc1bc'
|
||||
'd11edf802031e9335e4236ea1bb56d7fff9f6159dbc5f0afe407256b95d601fc'
|
||||
'7859fe0537662304a62b8f9bf9f6aff201d27097753f9c61e368a7fd19cc55df'
|
||||
'4499b55ed1c0b9527feba77160f6f244c93dfed417d04e0ba88a077a8140b281'
|
||||
'434e4707efc1bc3919597c87d44fa537f7563ae04236479bbf1adb5f410ab69d'
|
||||
'1b656ad96004f27e9dc63d7f430b50d5c48510d6d4cd595a81c24b21adb70313'
|
||||
|
@@ -666,7 +666,7 @@ new file mode 100644
|
||||
index 000000000000..8b0ddbdd24e4
|
||||
--- /dev/null
|
||||
+++ b/kernel/sched/alt_core.c
|
||||
@@ -0,0 +1,7627 @@
|
||||
@@ -0,0 +1,7634 @@
|
||||
+/*
|
||||
+ * kernel/sched/alt_core.c
|
||||
+ *
|
||||
@@ -3623,7 +3623,7 @@ index 000000000000..8b0ddbdd24e4
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
+void sched_post_fork(struct task_struct *p, struct kernel_clone_args *kargs)
|
||||
+void sched_cgroup_fork(struct task_struct *p, struct kernel_clone_args *kargs)
|
||||
+{
|
||||
+ unsigned long flags;
|
||||
+ struct rq *rq;
|
||||
@@ -3666,6 +3666,13 @@ index 000000000000..8b0ddbdd24e4
|
||||
+ raw_spin_unlock_irqrestore(&p->pi_lock, flags);
|
||||
+}
|
||||
+
|
||||
+void sched_post_fork(struct task_struct *p)
|
||||
+{
|
||||
+#ifdef CONFIG_UCLAMP_TASK
|
||||
+ uclamp_post_fork(p);
|
||||
+#endif
|
||||
+}
|
||||
+
|
||||
+#ifdef CONFIG_SCHEDSTATS
|
||||
+
|
||||
+DEFINE_STATIC_KEY_FALSE(sched_schedstats);
|
||||
|
Reference in New Issue
Block a user