[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071211030033.632581735@goodmis.org>
Date: Mon, 10 Dec 2007 22:00:33 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: linux-kernel <linux-kernel@...r.kernel.org>,
Ingo Molnar <mingo@...e.hu>
Cc: Dmitry Adamushko <dmitry.adamushko@...il.com>,
vatsa@...ux.vnet.ibm.com, Balbir Singh <balbir@...ibm.com>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Gregory Haskins <ghaskins@...ell.com>
Subject: [PATCH 0/4 v2] RT balance updates against sched-devel
[Sorry if this is a repost, but I had a problem with quilt mail, and
I don't know if my original post made it out. Unfortunately, I didn't
save the original "prolog" file, and so this has to be rewritten
from scratch, and I don't even remember the original subject :-/ ]
This patch series goes against Ingo's sched-devel git tree.
The first patch addresses Ingo's concerns about having hooks in the main
sched.c and replaces them with generic methods that any class may use.
The methods are: pre_schedule, post_schedule and task_wake_up; which
is called before the schedule, after a context switch and when a task
wakes up respectively. The are surrounded by ifdef CONFIG_SMP since they
are currently only used by sched_rt in SMP mode. But if this appears to
be applicable to other sched_classes in UP, then I can rerun this series
without the ifdefs.
The second patch addresses the concerns that Dmitry brought up showing that
the current RT balancing neglected to handle changes in prio and
classes from sched_setscheduler and rt_mutex_setprio. The added methods
are: switched_to, switched_from and prio_changed; these are called in
the when a task is assigned a new sched_class, after it leaves
a sched_class, and when it changes its prio respectively.
The last two patches are from Gregory Haskins where he cleaned up left
over changes that were from previous versions of the balancing code.
-- Steve
--
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