[TIP/SCHED/DEVEL PATCH v3 0/6] sched: misc rt fixes

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Gregory Haskins
Date: Thursday, September 4, 2008 - 5:54 am

Hi Ingo,

The following repositories

     git://git.kernel.org/pub/scm/linux/kernel/git/ghaskins/linux-2.6-hacks.git tip/sched/devel/rtbalance 

     ftp://ftp.novell.com/dev/ghaskins/tip-rt-fixes.tar.bz2

[
     *- Steve: I have also backported this to 2.6.26.3-rt5: *-

     ftp://ftp.novell.com/dev/ghaskins/PREEMPT_RT-rt-fixes.tar.bz2
]

apply to tip/sched/devel to pick up the following fixes for the RT
scheduler. 

[
	Changelog:

	v3:
	    *) fixed a bug in patch 6/6 in enqueue_pushable_task
	    *) backported from tip to 26.3-rt5
	
	v2: 
	    *) predicated newidle and double_lock changes on
	       CONFIG_PREEMPT to address a concern by Nick Piggin

	    *) fixed a build issue when DEBUG_PI_LIST is defined 

	v1:
	    *) initial release
]


These patches were developed in the interest of shorting latencies in
PREEMPT_RT, but they apply to the mainline scheduler as well, so I am
offering them here as well.

This has been tested under both 26.3-rt5 and tip/sched/devel on x86_64 for
both CONFIG_SMP and !CONFIG_SMP.

Comments/bug-fixes welcome!

Regards,
-Greg


---

Gregory Haskins (6):
      sched: create "pushable_tasks" list to limit pushing to one attempt
      plist: fix PLIST_NODE_INIT to work with debug enabled
      sched: add sched_class->needs_post_schedule() member
      sched: make double-lock-balance fair
      sched: pull only one task during NEWIDLE balancing to limit critical section
      sched: only try to push a task on wakeup if it is migratable


 include/linux/init_task.h |    1 
 include/linux/plist.h     |    9 ++-
 include/linux/sched.h     |    2 +
 kernel/sched.c            |   84 ++++++++++++++++++++++++---
 kernel/sched_rt.c         |  138 ++++++++++++++++++++++++++++++++++++++-------
 5 files changed, 201 insertions(+), 33 deletions(-)



--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/5] sched: misc rt fixes for tip/sched/devel, Gregory Haskins, (Mon Aug 25, 1:15 pm)
[PATCH 3/5] sched: make double-lock-balance fair, Gregory Haskins, (Mon Aug 25, 1:15 pm)
Re: [PATCH 3/5] sched: make double-lock-balance fair, Nick Piggin, (Mon Aug 25, 11:14 pm)
Re: [PATCH 3/5] sched: make double-lock-balance fair, Gregory Haskins, (Tue Aug 26, 5:23 am)
[PATCH v2 0/6] Series short description, Gregory Haskins, (Tue Aug 26, 10:34 am)
[PATCH v2 3/6] sched: make double-lock-balance fair, Gregory Haskins, (Tue Aug 26, 10:35 am)
Re: [PATCH 3/5] sched: make double-lock-balance fair, Nick Piggin, (Tue Aug 26, 11:36 pm)
Re: [PATCH v2 3/6] sched: make double-lock-balance fair, Peter Zijlstra, (Wed Aug 27, 1:21 am)
Re: [PATCH v2 3/6] sched: make double-lock-balance fair, Peter Zijlstra, (Wed Aug 27, 1:25 am)
Re: [PATCH v2 0/6] Series short description, Peter Zijlstra, (Wed Aug 27, 1:33 am)
Re: [PATCH v2 3/6] sched: make double-lock-balance fair, Peter Zijlstra, (Wed Aug 27, 3:41 am)
Re: [PATCH v2 3/6] sched: make double-lock-balance fair, Peter Zijlstra, (Wed Aug 27, 4:07 am)
Re: [PATCH v2 3/6] sched: make double-lock-balance fair, Russell King, (Wed Aug 27, 4:17 am)
Re: [PATCH 3/5] sched: make double-lock-balance fair, Gregory Haskins, (Wed Aug 27, 4:41 am)
Re: [PATCH 3/5] sched: make double-lock-balance fair, Nick Piggin, (Wed Aug 27, 4:53 am)
Re: [PATCH v2 3/6] sched: make double-lock-balance fair, Gregory Haskins, (Wed Aug 27, 5:00 am)
Re: [PATCH v2 3/6] sched: make double-lock-balance fair, Gregory Haskins, (Wed Aug 27, 5:02 am)
Re: [PATCH v2 3/6] sched: make double-lock-balance fair, Gregory Haskins, (Wed Aug 27, 5:03 am)
Re: [PATCH 3/5] sched: make double-lock-balance fair, Gregory Haskins, (Wed Aug 27, 5:10 am)
Re: [PATCH v2 3/6] sched: make double-lock-balance fair, Gregory Haskins, (Wed Aug 27, 5:13 am)
Re: [PATCH v2 3/6] sched: make double-lock-balance fair, Ralf Baechle, (Fri Aug 29, 5:49 am)
[TIP/SCHED/DEVEL PATCH v3 0/6] sched: misc rt fixes, Gregory Haskins, (Thu Sep 4, 5:54 am)