login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
June
»
12
Re: [ckrm-tech] [RFC][PATCH 1/6] Introduce struct sched_entity and struct lrq
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Balbir Singh
Subject:
Re: [ckrm-tech] [RFC][PATCH 1/6] Introduce struct sched_entity and struct lrq
Date: Monday, June 11, 2007 - 7:15 pm
Srivatsa Vaddagiri wrote:
quoted text
> This patch introduces two new structures: > > struct sched_entity > stores essential attributes/execution-history used by CFS core > to drive fairness between 'schedulable entities' (tasks, users etc) > > struct lrq > runqueue used to hold ready-to-run entities > > These new structures are formed by grouping together existing fields in > existing structures (task_struct and rq) and hence represents rework > with zero functionality change. > > Signed-off-by : Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com>
[snip]
quoted text
> > +/* CFS-related fields in a runqueue */ > +struct lrq { > + unsigned long raw_weighted_load; > + #define CPU_LOAD_IDX_MAX 5 > + unsigned long cpu_load[CPU_LOAD_IDX_MAX]; > + unsigned long nr_load_updates; > + > + u64 fair_clock, delta_fair_clock; > + u64 exec_clock, delta_exec_clock; > + s64 wait_runtime; > + unsigned long wait_runtime_overruns, wait_runtime_underruns; > + > + struct rb_root tasks_timeline; > + struct rb_node *rb_leftmost; > + struct rb_node *rb_load_balance_curr; > +}; > +
Shouldn't the rq->lock move into lrq? -- Warm Regards, Balbir Singh Linux Technology Center IBM, ISTL -
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:
[RFC][PATCH 0/6] Add group fairness to CFS - v1
, Srivatsa Vaddagiri
, (Mon Jun 11, 8:47 am)
[RFC][PATCH 1/6] Introduce struct sched_entity and struct lrq
, Srivatsa Vaddagiri
, (Mon Jun 11, 8:50 am)
[RFC][PATCH 2/6] task's cpu information needs to be always ...
, Srivatsa Vaddagiri
, (Mon Jun 11, 8:52 am)
[RFC][PATCH 3/6] core changes in CFS
, Srivatsa Vaddagiri
, (Mon Jun 11, 8:53 am)
[RFC][PATCH 4/6] Fix (bad?) interactions between SCHED_RT ...
, Srivatsa Vaddagiri
, (Mon Jun 11, 8:55 am)
[RFC][PATCH 5/6] core changes for group fairness
, Srivatsa Vaddagiri
, (Mon Jun 11, 8:56 am)
[RFC][PATCH 6/6] Hook up to container infrastructure
, Srivatsa Vaddagiri
, (Mon Jun 11, 8:58 am)
Re: [RFC][PATCH 0/6] Add group fairness to CFS - v1
, Srivatsa Vaddagiri
, (Mon Jun 11, 9:02 am)
Re: [RFC][PATCH 1/6] Introduce struct sched_entity and str ...
, Linus Torvalds
, (Mon Jun 11, 11:48 am)
Re: [RFC][PATCH 1/6] Introduce struct sched_entity and str ...
, Ingo Molnar
, (Mon Jun 11, 11:56 am)
Re: [RFC][PATCH 0/6] Add group fairness to CFS - v1
, Ingo Molnar
, (Mon Jun 11, 12:37 pm)
Re: [RFC][PATCH 0/6] Add group fairness to CFS - v1
, Ingo Molnar
, (Mon Jun 11, 12:39 pm)
Re: [ckrm-tech] [RFC][PATCH 1/6] Introduce struct sched_en ...
, Balbir Singh
, (Mon Jun 11, 7:15 pm)
Re: [ckrm-tech] [RFC][PATCH 2/6] task's cpu information ne ...
, Balbir Singh
, (Mon Jun 11, 7:17 pm)
Re: [RFC][PATCH 3/6] core changes in CFS
, Balbir Singh
, (Mon Jun 11, 7:29 pm)
Re: [ckrm-tech] [RFC][PATCH 1/6] Introduce struct sched_en ...
, Srivatsa Vaddagiri
, (Mon Jun 11, 8:52 pm)
Re: [RFC][PATCH 3/6] core changes in CFS
, Srivatsa Vaddagiri
, (Mon Jun 11, 9:22 pm)
Re: [RFC][PATCH 0/6] Add group fairness to CFS - v1
, Srivatsa Vaddagiri
, (Mon Jun 11, 10:50 pm)
Re: [RFC][PATCH 0/6] Add group fairness to CFS - v1
, Ingo Molnar
, (Mon Jun 11, 11:26 pm)
Re: [RFC][PATCH 4/6] Fix (bad?) interactions between SCHED ...
, Dmitry Adamushko
, (Tue Jun 12, 2:03 am)
Re: [RFC][PATCH 4/6] Fix (bad?) interactions between SCHED ...
, Srivatsa Vaddagiri
, (Tue Jun 12, 3:26 am)
Re: [RFC][PATCH 4/6] Fix (bad?) interactions between SCHED ...
, Dmitry Adamushko
, (Tue Jun 12, 5:23 am)
Re: [RFC][PATCH 4/6] Fix (bad?) interactions between SCHED ...
, Srivatsa Vaddagiri
, (Tue Jun 12, 6:30 am)
Re: [RFC][PATCH 4/6] Fix (bad?) interactions between SCHED ...
, Dmitry Adamushko
, (Tue Jun 12, 7:31 am)
Re: [RFC][PATCH 4/6] Fix (bad?) interactions between SCHED ...
, Srivatsa Vaddagiri
, (Tue Jun 12, 8:43 am)
Re: [RFC][PATCH 5/6] core changes for group fairness
, Dmitry Adamushko
, (Wed Jun 13, 1:56 pm)
Re: [RFC][PATCH 5/6] core changes for group fairness
, Srivatsa Vaddagiri
, (Thu Jun 14, 5:06 am)
Re: [RFC][PATCH 0/6] Add group fairness to CFS - v1
, Kirill Korotaev
, (Fri Jun 15, 5:46 am)
Re: [RFC][PATCH 0/6] Add group fairness to CFS - v1
, Srivatsa Vaddagiri
, (Fri Jun 15, 7:06 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Fortier,Vincent [Montreal]
2.6.21.5 june 30th to july 1st date hang?
Jeff Dike
[ PATCH 2/6 ] UML - Formatting fixes around os_{read_write}_file callers
Liam Girdwood
[PATCH 07/13] regulator: regulator test harness
Oleg Nesterov
Re: Getting the new RxRPC patches upstream
Stefan Seyfried
Re: 2.6.19-rc5: grub is much slower resuming from suspend-to-disk than in 2.6.18
linux-netdev
:
Arnaud Ebalard
Re: [REGRESSION,BISECTED] MIPv6 support broken by f4f914b58019f0
Jan Engelhardt
Re: [PATCH iptables] extension: add xt_cpu match
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Sebastian Andrzej Siewior
[PATCH 8/8] net/emergency: remove locking from reycling pool if emergncy pools are...
David Miller
Re: [PATCH] qlcnic: dont assume NET_IP_ALIGN is 2
git
:
Jakub Narebski
Re: git on MacOSX and files with decomposed utf-8 file names
Brandon Casey
Re: Thunderbird and patches (was Re: [PATCH v2] Enable setting attach as the def...
Christian Couder
[PATCH 1/3] rev-parse: add test script for "--verify"
Ramkumar Ramachandra
Re: [GSoC update] git-remote-svn: The final one
Junio C Hamano
Re: git-rm isn't the inverse action of git-add
openbsd-misc
:
Joachim Schipper
Re: UVC Webcams
Florin Andrei
SOLVED [was: firewall is very slow, something's wrong]
Todd Alan Smith
Re: Microsoft gets the Most Secure Operating Systems award
Neal Hogan
Re: Need Advice: Thinkpad T60 or T61?
Sam Fourman Jr.
Re: Real men don't attack straw men
git-commits-head
:
Linux Kernel Mailing List
ACPI: Disable ARB_DISABLE on platforms where it is not needed
Linux Kernel Mailing List
m68knommu: add read_barrier_depends() and irqs_disabled_flags()
Linux Kernel Mailing List
[MTD] Add mtd panic_write function pointer
Linux Kernel Mailing List
[ARM] pxa: remove duplicate select statements from Kconfig
Linux Kernel Mailing List
mlx4_core: Don't read reserved fields in mlx4_QUERY_ADAPTER()
Colocation donated by:
Syndicate