public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Peter Williams <pwil3058@bigpond.net.au>
To: Peter Williams <pwil3058@bigpond.net.au>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Chris Han <xiphux@gmail.com>, Con Kolivas <kernel@kolivas.org>,
	William Lee Irwin III <wli@holomorphy.com>,
	Jake Moilanen <moilanen@austin.ibm.com>,
	Paolo Ornati <ornati@fastwebnet.it>, Ingo Molnar <mingo@elte.hu>
Subject: Re: [ANNOUNCE][RFC] PlugSched-6.3.2 for  2.6.17-rc1
Date: Tue, 04 Apr 2006 16:30:48 +1000	[thread overview]
Message-ID: <44321298.4000409@bigpond.net.au> (raw)
In-Reply-To: <4431FB72.9030907@bigpond.net.au>

[-- Attachment #1: Type: text/plain, Size: 1289 bytes --]

Peter Williams wrote:
> This version updates staircase scheduler to version 15 (thanks Con)
> and includes the latest smpnice patches
> 
> A patch for 2.6.17-rc1 is available at:
> 
> <http://prdownloads.sourceforge.net/cpuse/plugsched-6.3.2-for-2.6.17-rc1.patch?download> 
> 
> 
> Very Brief Documentation:
> 
> You can select a default scheduler at kernel build time.  If you wish to
> boot with a scheduler other than the default it can be selected at boot
> time by adding:
> 
> cpusched=<scheduler>
> 
> to the boot command line where <scheduler> is one of: ingosched,
> ingo_ll, nicksched, staircase, spa_no_frills, spa_ws, spa_svr, spa_ebs
> or zaphod.  If you don't change the default when you build the kernel
> the default scheduler will be ingosched (which is the normal scheduler).
> 
> The scheduler in force on a running system can be determined by the
> contents of:
> 
> /proc/scheduler
> 
> Control parameters for the scheduler can be read/set via files in:
> 
> /sys/cpusched/<scheduler>/
> 
> Peter

This fails to build when SCHEDSTATS is not configured in.  The attached 
patch fixes that problem.

Peter
-- 
Peter Williams                                   pwil3058@bigpond.net.au

"Learning, n. The kind of ignorance distinguishing the studious."
  -- Ambrose Bierce

[-- Attachment #2: build-without-schedstats --]
[-- Type: text/plain, Size: 572 bytes --]

Index: Linux-2.6.17-rc1/include/linux/sched_pvt.h
===================================================================
--- Linux-2.6.17-rc1.orig/include/linux/sched_pvt.h	2006-04-04 12:20:47.000000000 +1000
+++ Linux-2.6.17-rc1/include/linux/sched_pvt.h	2006-04-04 16:27:33.000000000 +1000
@@ -209,6 +209,7 @@ static inline void sched_info_switch(tas
 		sched_info_arrive(next);
 }
 #else
+#define schedstat_inc(rq, field)	do { } while (0)
 #define sched_info_queued(t)		do { } while (0)
 #define sched_info_switch(t, next)	do { } while (0)
 #endif /* CONFIG_SCHEDSTATS */

  reply	other threads:[~2006-04-04  6:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-04  4:52 [ANNOUNCE][RFC] PlugSched-6.3.2 for 2.6.17-rc1 Peter Williams
2006-04-04  6:30 ` Peter Williams [this message]
2006-04-06  3:35 ` Peter Williams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44321298.4000409@bigpond.net.au \
    --to=pwil3058@bigpond.net.au \
    --cc=kernel@kolivas.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=moilanen@austin.ibm.com \
    --cc=ornati@fastwebnet.it \
    --cc=wli@holomorphy.com \
    --cc=xiphux@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox