summarylogtreecommitdiffstats
path: root/bfs462-nosubmit.patch
diff options
context:
space:
mode:
authorgraysky2015-06-08 17:53:08 -0400
committergraysky2015-06-08 17:53:08 -0400
commit128a4bad969647088b04f19639d100d0e6747933 (patch)
treed91b6ba7e63cffc74bb07b2e40662bc30343feae /bfs462-nosubmit.patch
downloadaur-128a4bad969647088b04f19639d100d0e6747933.tar.gz
Initial import
Diffstat (limited to 'bfs462-nosubmit.patch')
-rw-r--r--bfs462-nosubmit.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/bfs462-nosubmit.patch b/bfs462-nosubmit.patch
new file mode 100644
index 00000000000..9b5a1075cd5
--- /dev/null
+++ b/bfs462-nosubmit.patch
@@ -0,0 +1,37 @@
+---
+ kernel/sched/bfs.c | 16 ----------------
+ 1 file changed, 16 deletions(-)
+
+Index: linux-4.0.2-ck1/kernel/sched/bfs.c
+===================================================================
+--- linux-4.0.2-ck1.orig/kernel/sched/bfs.c 2015-05-12 20:55:15.065267897 +1000
++++ linux-4.0.2-ck1/kernel/sched/bfs.c 2015-05-13 09:26:11.662810660 +1000
+@@ -3520,28 +3520,12 @@ rerun_prev_unlocked:
+ sched_preempt_enable_no_resched();
+ }
+
+-static inline void sched_submit_work(struct task_struct *tsk)
+-{
+- if (!tsk->state || tsk_is_pi_blocked(tsk))
+- return;
+- /*
+- * If we are going to sleep and we have plugged IO queued,
+- * make sure to submit it to avoid deadlocks.
+- */
+- if (blk_needs_flush_plug(tsk))
+- blk_schedule_flush_plug(tsk);
+-}
+-
+ asmlinkage __visible void __sched schedule(void)
+ {
+- struct task_struct *tsk = current;
+-
+- sched_submit_work(tsk);
+ do {
+ __schedule();
+ } while (need_resched());
+ }
+-
+ EXPORT_SYMBOL(schedule);
+
+ #ifdef CONFIG_CONTEXT_TRACKING