Displaying 6 results from an estimated 6 matches for "this_rq".
2011 Sep 01
3
DOM0 Hang on a large box....
...test %eax, %eax
@ ffffffff8035969b: 0:_spin_lock+10b test %al, %al
@ ffffffff800342f5: 0:double_lock_balance+65 mov %rbx, %rdi
@ ffffffff80356fc0: 0:thread_return+37e mov 0x880(%r12), %edi
static int _double_lock_balance(struct rq *this_rq, struct rq *busiest)
__releases(this_rq->lock)
__acquires(busiest->lock)
__acquires(this_rq->lock)
{
int ret = 0;
if (unlikely(!spin_trylock(&busiest->lock))) {
if (busiest < this_rq) {
spin_unlock(&...
2007 Aug 20
0
[PATCH 3/4] modify account_system_time() to update guest time in cpustat and task_struct
...3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- kvm.orig/kernel/sched.c 2007-08-20 11:11:30.000000000 +0200
+++ kvm/kernel/sched.c 2007-08-20 13:21:24.000000000 +0200
@@ -3246,10 +3246,24 @@ void account_system_time(struct task_str
struct rq *rq =3D this_rq();
cputime64_t tmp;
=
+ tmp =3D cputime_to_cputime64(cputime);
+#ifdef CONFIG_GUEST_ACCOUNTING
+ if (p->flags & PF_VCPU) {
+ p->utime =3D cputime_add(p->utime, cputime);
+ p->gtime =3D cputime_add(p->gtime, cputime);
+
+ cpustat->guest =3D cputime64_add(cpustat->gues...
2007 Aug 20
0
[PATCH 3/4] modify account_system_time() to update guest time in cpustat and task_struct
...3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- kvm.orig/kernel/sched.c 2007-08-20 11:11:30.000000000 +0200
+++ kvm/kernel/sched.c 2007-08-20 13:21:24.000000000 +0200
@@ -3246,10 +3246,24 @@ void account_system_time(struct task_str
struct rq *rq =3D this_rq();
cputime64_t tmp;
=
+ tmp =3D cputime_to_cputime64(cputime);
+#ifdef CONFIG_GUEST_ACCOUNTING
+ if (p->flags & PF_VCPU) {
+ p->utime =3D cputime_add(p->utime, cputime);
+ p->gtime =3D cputime_add(p->gtime, cputime);
+
+ cpustat->guest =3D cputime64_add(cpustat->gues...
2006 Jul 26
5
linux-2.6-xen.hg
Hi,
Is the http://xenbits.xensource.com/linux-2.6-xen.hg tree still being
updated? if not, what''s the preferred Linux tree to track that has all
of the Xen bits?
Thanks,
Muli
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2007 Apr 18
0
[RFC, PATCH 23/24] i386 Vmi timer patch
...void account_system_time(struct task_str
*/
void account_steal_time(struct task_struct *p, cputime_t steal)
{
- struct cpu_usage_stat *cpustat = &kstat_this_cpu.cpustat;
- cputime64_t tmp = cputime_to_cputime64(steal);
+ struct cpu_usage_stat *cpustat;
+ cputime64_t tmp;
runqueue_t *rq = this_rq();
if (p == rq->idle) {
+ cpustat = &kstat_this_cpu.cpustat;
+ tmp = cputime_to_cputime64(steal);
+
p->stime = cputime_add(p->stime, steal);
if (atomic_read(&rq->nr_iowait) > 0)
cpustat->iowait = cputime64_add(cpustat->iowait, tmp);
else
cpustat...
2007 Apr 18
0
[RFC, PATCH 23/24] i386 Vmi timer patch
...void account_system_time(struct task_str
*/
void account_steal_time(struct task_struct *p, cputime_t steal)
{
- struct cpu_usage_stat *cpustat = &kstat_this_cpu.cpustat;
- cputime64_t tmp = cputime_to_cputime64(steal);
+ struct cpu_usage_stat *cpustat;
+ cputime64_t tmp;
runqueue_t *rq = this_rq();
if (p == rq->idle) {
+ cpustat = &kstat_this_cpu.cpustat;
+ tmp = cputime_to_cputime64(steal);
+
p->stime = cputime_add(p->stime, steal);
if (atomic_read(&rq->nr_iowait) > 0)
cpustat->iowait = cputime64_add(cpustat->iowait, tmp);
else
cpustat...