login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
15
Re: [PATCH 4/7] RT: Add support for updating push-rt priority under PI boost
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Steven Rostedt <rostedt@...>
To: Gregory Haskins <ghaskins@...>
Cc: Peter Zijlstra <a.p.zijlstra@...>, RT <linux-rt-users@...>, Ingo Molnar <mingo@...>, LKML <linux-kernel@...>, Thomas Gleixner <tglx@...>
Subject:
Re: [PATCH 4/7] RT: Add support for updating push-rt priority under PI boost
Date: Monday, October 15, 2007 - 1:47 pm
On Fri, 12 Oct 2007, Gregory Haskins wrote: Again no description. -- Steve
quoted text
> Signed-off-by: Gregory Haskins <ghaskins@novell.com> > --- > > kernel/sched.c | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/kernel/sched.c b/kernel/sched.c > index 50c88e8..62f9f0b 100644 > --- a/kernel/sched.c > +++ b/kernel/sched.c > @@ -4663,6 +4663,7 @@ void rt_mutex_setprio(struct task_struct *p, int prio) > * this runqueue and our priority is higher than the current's > */ > if (task_running(rq, p)) { > + set_rq_prio(rq, p->prio); > if (p->prio > oldprio) > resched_task(rq->curr); > } else { > @@ -4722,6 +4723,9 @@ void set_user_nice(struct task_struct *p, long nice) > */ > if (delta < 0 || (delta > 0 && task_running(rq, p))) > resched_task(rq->curr); > + > + if (delta && task_running(rq, p)) > + set_rq_prio(rq, p->prio); > } > out_unlock: > task_rq_unlock(rq, &flags); > > >
-
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 0/7] RT: RT-Overload/Sched enhancements (v2)
, Gregory Haskins
, (Fri Oct 12, 8:15 pm)
[PATCH 7/7] RT: (RFC) Only try to pull tasks in if we are do...
, Gregory Haskins
, (Fri Oct 12, 8:16 pm)
[PATCH 6/7] RT: Select tasks based on relative affinity
, Gregory Haskins
, (Fri Oct 12, 8:16 pm)
Re: [PATCH 6/7] RT: Select tasks based on relative affinity
, Gregory Haskins
, (Mon Oct 15, 4:08 pm)
[PATCH 5/7] RT: Add support for low-priority wake-up to push...
, Gregory Haskins
, (Fri Oct 12, 8:15 pm)
Re: [PATCH 5/7] RT: Add support for low-priority wake-up to ...
, Steven Rostedt
, (Mon Oct 15, 2:05 pm)
Re: [PATCH 5/7] RT: Add support for low-priority wake-up to ...
, Gregory Haskins
, (Mon Oct 15, 3:54 pm)
Re: [PATCH 5/7] RT: Add support for low-priority wake-up to ...
, Peter Zijlstra
, (Sat Oct 13, 5:46 am)
Re: [PATCH 5/7] RT: Add support for low-priority wake-up to ...
, Steven Rostedt
, (Mon Oct 15, 2:57 pm)
[PATCH 4/7] RT: Add support for updating push-rt priority un...
, Gregory Haskins
, (Fri Oct 12, 8:15 pm)
Re: [PATCH 4/7] RT: Add support for updating push-rt priorit...
, Steven Rostedt
, (Mon Oct 15, 1:47 pm)
[PATCH 3/7] RT: Initialize the priority value
, Gregory Haskins
, (Fri Oct 12, 8:15 pm)
Re: [PATCH 3/7] RT: Initialize the priority value
, Steven Rostedt
, (Mon Oct 15, 1:46 pm)
[PATCH 2/7] RT: Wrap the RQ notion of priority to make it co...
, Gregory Haskins
, (Fri Oct 12, 8:15 pm)
Re: [PATCH 2/7] RT: Wrap the RQ notion of priority to make i...
, Steven Rostedt
, (Mon Oct 15, 1:45 pm)
Re: [PATCH 2/7] RT: Wrap the RQ notion of priority to make i...
, Gregory Haskins
, (Mon Oct 15, 3:57 pm)
[PATCH 1/7] RT: Add a per-cpu rt_overload indication
, Gregory Haskins
, (Fri Oct 12, 8:15 pm)
Re: [PATCH 1/7] RT: Add a per-cpu rt_overload indication
, Steven Rostedt
, (Mon Oct 15, 1:42 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
david
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
David Miller
Re: [RFC/PATCH] Documentation of kernel messages
Rafael J. Wysocki
Re: linux-next: Tree for June 13: IO APIC breakage on HP nx6325
git
:
linux-netdev
:
Josip Rodin
bnx2_poll panicking kernel
Frans Pop
svc: failed to register lockdv1 RPC service (errno 97).
Gerrit Renker
[PATCH 03/37] dccp: List management for new feature negotiation
Herbert Xu
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
0 users
and
821 guests
online.
Syndicate