login
Login
/
Register
Search
Search this site:
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
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Ingo Molnar
Subject:
Re: [Patch 4/4] sched: Improve fairness of cpu bandwidth allocation for task groups
Date: Monday, November 26, 2007 - 1: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, 5:27 am)
[PATCH 1/2] sched: Minor cleanups
, Srivatsa Vaddagiri
, (Mon Nov 19, 5:28 am)
[PATCH 2/2] sched: Improve fairness of cpu allocation for ...
, Srivatsa Vaddagiri
, (Mon Nov 19, 5:30 am)
Re: [PATCH 1/2] sched: Minor cleanups
, Ingo Molnar
, (Mon Nov 19, 6:08 am)
Re: [PATCH 1/2] sched: Minor cleanups
, Srivatsa Vaddagiri
, (Mon Nov 19, 8:01 am)
Re: [PATCH 2/2] sched: Improve fairness of cpu allocation ...
, Srivatsa Vaddagiri
, (Mon Nov 19, 8:03 am)
Re: [PATCH 2/2] sched: Improve fairness of cpu allocation ...
, Ingo Molnar
, (Mon Nov 19, 8:22 am)
Re: [PATCH 2/2] sched: Improve fairness of cpu allocation ...
, Srivatsa Vaddagiri
, (Mon Nov 19, 9:06 am)
Re: [PATCH 2/2] sched: Improve fairness of cpu allocation ...
, Ingo Molnar
, (Mon Nov 19, 12:00 pm)
[PATCH 0/4] sched: group scheduler related patches (V3)
, Srivatsa Vaddagiri
, (Sun Nov 25, 10:00 pm)
[PATCH 1/4] sched: code cleanup
, Srivatsa Vaddagiri
, (Sun Nov 25, 10:02 pm)
[PATCH 2/4] sched: minor fixes for group scheduler
, Srivatsa Vaddagiri
, (Sun Nov 25, 10:03 pm)
[Patch 3/4 v1] sched: change how cpu load is calculated
, Srivatsa Vaddagiri
, (Sun Nov 25, 10:05 pm)
[Patch 3/4 v2] sched: change how cpu load is calculated
, Srivatsa Vaddagiri
, (Sun Nov 25, 10:06 pm)
[Patch 4/4] sched: Improve fairness of cpu bandwidth alloc ...
, Srivatsa Vaddagiri
, (Sun Nov 25, 10:09 pm)
Re: [Patch 4/4] sched: Improve fairness of cpu bandwidth a ...
, Ingo Molnar
, (Mon Nov 26, 1:28 pm)
Re: [Patch 4/4] sched: Improve fairness of cpu bandwidth a ...
, Ingo Molnar
, (Mon Nov 26, 1:29 pm)
[Patch 0/5] sched: group scheduler related patches (V4)
, Srivatsa Vaddagiri
, (Mon Nov 26, 10:06 pm)
[Patch 1/5] sched: code cleanup
, Srivatsa Vaddagiri
, (Mon Nov 26, 10:08 pm)
[Patch 3/5 v1] sched: change how cpu load is calculated
, Srivatsa Vaddagiri
, (Mon Nov 26, 10:11 pm)
[Patch 3/5 v2] sched: change how cpu load is calculated
, Srivatsa Vaddagiri
, (Mon Nov 26, 10:12 pm)
[Patch 4/5] sched: introduce a mutex and corresponding API ...
, Srivatsa Vaddagiri
, (Mon Nov 26, 10:21 pm)
[Patch 5/5] sched: Improve fairness of cpu bandwidth alloc ...
, Srivatsa Vaddagiri
, (Mon Nov 26, 10:27 pm)
Re: [Patch 0/5] sched: group scheduler related patches (V4)
, Ingo Molnar
, (Tue Nov 27, 4:09 am)
Re: [Patch 0/5] sched: group scheduler related patches (V4)
, Srivatsa Vaddagiri
, (Tue Nov 27, 4:42 am)
Re: [Patch 0/5] sched: group scheduler related patches (V4)
, Ingo Molnar
, (Tue Nov 27, 5:53 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree
Alexander Sulfrian
[RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set
Junio C Hamano
Re: Rss produced by git is not valid xml?
git-commits-head
:
Linux Kernel Mailing List
iSeries: fix section mismatch in iseries_veth
Linux Kernel Mailing List
ixbge: remove TX lock and redo TX accounting.
Linux Kernel Mailing List
ixgbe: fix several counter register errata
Linux Kernel Mailing List
b43: fix build with CONFIG_SSB_PCIHOST=n
Linux Kernel Mailing List
9p: block-based virtio client
linux-netdev
:
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
David Daney
[PATCH 5/7] Staging: Octeon Ethernet: Convert to NAPI.
Wolfgang Grandegger
[PATCH net-next v4 1/3] can: mscan: fix improper return if dlc < 8 in start_xmi...
Amit Kumar Salecha
[PATCHv3 NEXT 2/2] NET: Add Qlogic ethernet driver for CNA devices
openbsd-misc
:
Theo de Raadt
Re: Old IPSEC bug
Tomáš Bodžár
Problem with vpnc connection - check group password !
Insan Praja SW