linux/debian/patches/debian/sched-autogroup-disabled.patch

22 lines
699 B
Diff

From: Ben Hutchings <ben@decadent.org.uk>
Subject: sched: Do not enable autogrouping by default
Date: Wed, 16 Mar 2011 03:17:06 +0000
Forwarded: not-needed
We want to provide the option of autogrouping but without enabling
it by default yet.
Index: linux/kernel/sched/autogroup.c
===================================================================
--- linux.orig/kernel/sched/autogroup.c
+++ linux/kernel/sched/autogroup.c
@@ -5,7 +5,7 @@
#include <linux/nospec.h>
#include "sched.h"
-unsigned int __read_mostly sysctl_sched_autogroup_enabled = 1;
+unsigned int __read_mostly sysctl_sched_autogroup_enabled = 0;
static struct autogroup autogroup_default;
static atomic_t autogroup_seq_nr;