|| ||Tejun Heo <email@example.com> |
|| ||firstname.lastname@example.org, email@example.com, firstname.lastname@example.org |
|| ||[PATCHSET sched/core] sched: prepare for cmwq |
|| ||Thu, 13 May 2010 12:48:21 +0200|
|| ||Article, Thread
Hello, Ingo, Peter.
These four patches are the scheduler modifications necessary for cmwq
and contains the following four patches.
The first three have been posted multiple times as part of cmwq
patchset multiple times. Other than description updates to explain
why they are needed, these three patches haven't changed from the last
The last patch adds two hardcoded workqueue hooks as suggested in in
the unify-tracers-in-sched thread[U]. These new hardcoded hooks are
much simpler and no scheduler behavior change is leaked outside of
sched.c. Workqueue workers are marked with PF_WQ_WORKER and hooks are
called only for them. Instead of exporting try_to_wake_up_local(),
the sleeping hook now returns a pointer to local task which is woken
up by scheduler. The hooks are defined as noop for now and will be
filled later by cmwq implementation.
The change from sched_notifier to the hardcoded hooks doesn't make any
notable difference to cmwq implementation itself.
This patchset is available in the following git tree.
and contains the following changes.
include/linux/sched.h | 15 ++-
kernel/fork.c | 2
kernel/sched.c | 191 +++++++++++++++++++++++++++++++++--------------
kernel/workqueue_sched.h | 16 +++
4 files changed, 163 insertions(+), 61 deletions(-)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/