Re: Galbraith patch

Previous thread: [PATCH] xen: use PHYSDEVOP_get_free_pirq to implement find_unbound_pirq by Stefano Stabellini on Friday, November 19, 2010 - 6:58 am. (5 messages)

Next thread: Re: Urgent!!! by Roberto Jose Lopez on Friday, November 19, 2010 - 6:19 am. (1 message)
From: Jordi Pujol
Date: Friday, November 19, 2010 - 7:09 am

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
--

From: Gene Heskett
Date: Friday, November 19, 2010 - 8:05 am

Thanks Jordi, but my last attempted build, using only the last 2 patches 
that Mike posted on a fresh unpack of 2.6.36, couldn't get past stage 2 of 
the modules build, it kept squawking about all the IR control stuff that is 
not even configured to be built.

I wonder how long it will take to get work this into mainline?



-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
"What's the use of a good quotation if you can't change it?"
		-- The Doctor
--

From: Mike Galbraith
Date: Friday, November 19, 2010 - 9:21 am

No idea what's going on with that.  Maybe you should wait until I get
the /proc display/tweak interface cobbled together and post a checked


Like apple vs orange.

	-Mike

--

From: Gene Heskett
Date: Friday, November 19, 2010 - 5:05 pm

I have come to that conclusion of too.  But because I am interested in an 
improvement in this 'interactivity' of the desktop, I was willing to give 
even the WIP a try.  If what I report helps you, then my testing effort is 
not wasted.  The more eyes and different hdwe theory. ;-)




-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Deliberation, n.:
	The act of examining one's bread to determine which side it is
	buttered on.
		-- Ambrose Bierce, "The Devil's Dictionary"
--

From: Jordi Pujol
Date: Friday, November 19, 2010 - 9:49 am

the autogroup-sched patch works well, right now writing this message from a 
computer that runs that kernel.

this patch is much simpler than CK2, so I suppose that the implementation 
should be more easy,
I am trying both and observe, from my user's point of view, that they give a 
similar result.

Gene, if that may help to do your own kernel implementation, the Debian kernel 
sources I've used are available at:
http://livenet.selfip.com/ftp/debian/linux-2.6/

2.6.36 + CK2, in the subdirectory
   linux-2.6.36-0.jpp.10-lnet/
2.6.36 + autogroup_sched, in the subdirectory
   linux-2.6.36-0.jpp.11-lnet/

Jordi Pujol

Live never ending Tale
GNU/Linux Live forever!
http://livenet.selfip.com
--

From: Gilberto Nunes
Date: Friday, November 19, 2010 - 10:11 am

HI...

I have compile a kernel 2.6.36 with autogroup but I don't see
any /proc/sys/kernel/sched_autogroup_enabled

Also, I tried with noautogroup and autogroup on kernel line boot, but it
doesn't work...

Maybe I do samething wrong...





-- 
--
Gilberto Nunes
Departamento de TI
Selbetti Gestão de Documentos
Fone: (47) 3441-6004
Celular (47) 8861-6672


<><

--

From: Mike Galbraith
Date: Friday, November 19, 2010 - 9:09 am

Yeah, thanks.  It was initially a debug only thing, but evolution
changed that.

	-Mike

--

Previous thread: [PATCH] xen: use PHYSDEVOP_get_free_pirq to implement find_unbound_pirq by Stefano Stabellini on Friday, November 19, 2010 - 6:58 am. (5 messages)

Next thread: Re: Urgent!!! by Roberto Jose Lopez on Friday, November 19, 2010 - 6:19 am. (1 message)