login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
November
»
26
Re: [Patch 4/4] sched: Improve fairness of cpu bandwidth allocation for task groups
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Ingo Molnar <mingo@...>
To: Srivatsa Vaddagiri <vatsa@...>
Cc: <dmitry.adamushko@...>, <a.p.zijlstra@...>, <dhaval@...>, <linux-kernel@...>, <efault@...>, <skumar@...>, Balbir Singh <balbir@...>, Dipankar <dipankar@...>
Subject:
Re: [Patch 4/4] sched: Improve fairness of cpu bandwidth allocation for task groups
Date: Monday, November 26, 2007 - 4:29 pm
* Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com> wrote:
quoted text
> +static inline void lock_doms_cur(void) > +{ > + mutex_lock(&doms_cur_mutex); > +} > + > +static inline void unlock_doms_cur(void) > +{ > + mutex_unlock(&doms_cur_mutex); > +} > + > #else > > static inline void set_task_cfs_rq(struct task_struct *p, unsigned int cpu) { } > static inline void lock_task_group_list(void) { } > static inline void unlock_task_group_list(void) { } > +static inline void lock_doms_cur(void) { } > +static inline void unlock_doms_cur(void) { } > > #endif /* CONFIG_FAIR_GROUP_SCHED */ > > @@ -6546,6 +6605,8 @@ > { > int i, j; > > + lock_doms_cur(); > + > /* always unregister in case we don't destroy any domains */ > unregister_sched_domain_sysctl(); > > @@ -6586,6 +6647,8 @@ > ndoms_cur = ndoms_new; > > register_sched_domain_sysctl(); > + > + unlock_doms_cur(); > }
this API and locking should be introduced in a separate patch first, to reduce the size and impact of the 4/4 patch. Ingo -
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/2] sched: Group scheduler related patches
, Srivatsa Vaddagiri
, (Mon Nov 19, 8:27 am)
[PATCH 2/2] sched: Improve fairness of cpu allocation for ta...
, Srivatsa Vaddagiri
, (Mon Nov 19, 8:30 am)
Re: [PATCH 2/2] sched: Improve fairness of cpu allocation fo...
, Ingo Molnar
, (Mon Nov 19, 9:12 am)
Re: [PATCH 2/2] sched: Improve fairness of cpu allocation fo...
, Srivatsa Vaddagiri
, (Mon Nov 19, 11:03 am)
Re: [PATCH 2/2] sched: Improve fairness of cpu allocation fo...
, Ingo Molnar
, (Mon Nov 19, 11:22 am)
Re: [PATCH 2/2] sched: Improve fairness of cpu allocation fo...
, Srivatsa Vaddagiri
, (Mon Nov 19, 12:06 pm)
Re: [PATCH 2/2] sched: Improve fairness of cpu allocation fo...
, Ingo Molnar
, (Mon Nov 19, 3:00 pm)
[PATCH 0/4] sched: group scheduler related patches (V3)
, Srivatsa Vaddagiri
, (Mon Nov 26, 1:00 am)
[Patch 4/4] sched: Improve fairness of cpu bandwidth allocat...
, Srivatsa Vaddagiri
, (Mon Nov 26, 1:09 am)
Re: [Patch 4/4] sched: Improve fairness of cpu bandwidth all...
, Ingo Molnar
, (Mon Nov 26, 4:29 pm)
Re: [Patch 4/4] sched: Improve fairness of cpu bandwidth all...
, Ingo Molnar
, (Mon Nov 26, 4:28 pm)
[Patch 0/5] sched: group scheduler related patches (V4)
, Srivatsa Vaddagiri
, (Tue Nov 27, 1:06 am)
Re: [Patch 0/5] sched: group scheduler related patches (V4)
, Ingo Molnar
, (Tue Nov 27, 7:09 am)
Re: [Patch 0/5] sched: group scheduler related patches (V4)
, Srivatsa Vaddagiri
, (Tue Nov 27, 7:42 am)
Re: [Patch 0/5] sched: group scheduler related patches (V4)
, Ingo Molnar
, (Tue Nov 27, 8:53 am)
Re: [Patch 0/5] sched: group scheduler related patches (V4)
, Srivatsa Vaddagiri
, (Tue Nov 27, 10:32 am)
[Patch 5/5] sched: Improve fairness of cpu bandwidth allocat...
, Srivatsa Vaddagiri
, (Tue Nov 27, 1:27 am)
[Patch 4/5] sched: introduce a mutex and corresponding API t...
, Srivatsa Vaddagiri
, (Tue Nov 27, 1:21 am)
[Patch 3/5 v2] sched: change how cpu load is calculated
, Srivatsa Vaddagiri
, (Tue Nov 27, 1:12 am)
[Patch 3/5 v1] sched: change how cpu load is calculated
, Srivatsa Vaddagiri
, (Tue Nov 27, 1:11 am)
[Patch 2/5] sched: minor fixes for group scheduler
, Srivatsa Vaddagiri
, (Tue Nov 27, 1:09 am)
[Patch 1/5] sched: code cleanup
, Srivatsa Vaddagiri
, (Tue Nov 27, 1:08 am)
[Patch 3/4 v2] sched: change how cpu load is calculated
, Srivatsa Vaddagiri
, (Mon Nov 26, 1:06 am)
[Patch 3/4 v1] sched: change how cpu load is calculated
, Srivatsa Vaddagiri
, (Mon Nov 26, 1:05 am)
[PATCH 2/4] sched: minor fixes for group scheduler
, Srivatsa Vaddagiri
, (Mon Nov 26, 1:03 am)
[PATCH 1/4] sched: code cleanup
, Srivatsa Vaddagiri
, (Mon Nov 26, 1:02 am)
[PATCH 1/2] sched: Minor cleanups
, Srivatsa Vaddagiri
, (Mon Nov 19, 8:28 am)
Re: [PATCH 1/2] sched: Minor cleanups
, Ingo Molnar
, (Mon Nov 19, 9:08 am)
Re: [PATCH 1/2] sched: Minor cleanups
, Srivatsa Vaddagiri
, (Mon Nov 19, 11:01 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
James Bottomley
Re: Announce: Linux-next (Or Andrew's dream :-))
David Woodhouse
Re: [PATCH 2/3] firmware: convert korg1212 driver to use firmware loader exclusively
Kamalesh Babulal
Re: 2.6.24-rc8-mm1 Build Failure on S390x
git
:
linux-netdev
:
David Miller
[GIT]: Networking
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
KOSAKI Motohiro
[bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin"
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
807 guests
online.
Online users
negociosiney
Syndicate