[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201011191509.49586.jordipujolp@gmail.com>
Date: Fri, 19 Nov 2010 15:09:49 +0100
From: Jordi Pujol <jordipujolp@...il.com>
To: Gene Heskett <gene.heskett@...il.com>
Cc: Mike Galbraith <efault@....de>, LKML <linux-kernel@...r.kernel.org>
Subject: Re: Galbraith patch
Hello,
it requires a little modification,
CONFIG_SCHED_DEBUG should not be a condition to create autogroup in structure
task_group
remove
&& defined(CONFIG_SCHED_DEBUG)
in the following conditional:
+++ linux-2.6.36/kernel/sched.c
@@ -78,6 +78,7 @@
#include "sched_cpupri.h"
#include "workqueue_sched.h"
+#include "sched_autogroup.h"
#define CREATE_TRACE_POINTS
#include <trace/events/sched.h>
@@ -268,6 +269,10 @@ struct task_group {
struct task_group *parent;
struct list_head siblings;
struct list_head children;
+
+#if (defined(CONFIG_SCHED_AUTOGROUP) && defined(CONFIG_SCHED_DEBUG))
+ struct autogroup *autogroup;
+#endif
};
Kind,
Jordi Pujol
Live never ending Tale
GNU/Linux Live forever!
http://livenet.selfip.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists