lkml.org 
[lkml]   [2010]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: Galbraith patch
Date
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


\
 
 \ /
  Last update: 2010-11-19 15:13    [W:0.106 / U:1.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site