search for: do_block

Displaying 11 results from an estimated 11 matches for "do_block".

Did you mean: no_block
2005 Feb 23
19
Calculating real cpu usage of Xen domains correctly!
Hi all, With the new vm-tools we are trying to get top like capabilities going correctly. Currently we have a program vm-list that has some of this capability but is dependent on the cpu time given by libxc calls (xc_get_dom_info & xc_domain_get_cpu_usage). These two functions give you how much time (in nanoseconds, why is this not documented) the domain has been actively used. Approaches:
2006 Mar 10
12
[PATCH] Add SCHEDOP_block_on
...uest OS, diff -r fbeb0a5b7219 -r 15aea7d020cd xen/common/schedule.c --- a/xen/common/schedule.c Thu Mar 9 16:24:57 2006 +0000 +++ b/xen/common/schedule.c Thu Mar 9 21:55:15 2006 -0800 @@ -249,7 +249,7 @@ } /* Block the currently-executing domain until a pertinent event occurs. */ -static long do_block(void) +static void do_block(void) { struct vcpu *v = current; @@ -258,6 +258,32 @@ /* Check for events /after/ blocking: avoids wakeup waiting race. */ if ( event_pending(v) ) + { + clear_bit(_VCPUF_blocked, &v->vcpu_flags); + } + else + { + TRAC...
2013 May 01
0
[xen-unstable test] 17860: regressions - FAIL
...-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Keir Fraser <keir@xen.org> commit 7be7b15dde4364b6f524aa9330a283c60b7708ea Author: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Date: Tue Apr 23 12:19:26 2013 +0100 xen: introduce vcpu_block Rename do_block to vcpu_block. Move the call to local_event_delivery_enable out of vcpu_block, to a new static function called vcpu_block_enable_events. Use vcpu_block_enable_events instead of do_block throughout in schedule.c Signed-off-by: Stefano Stabellini <stefano.stabell...
2005 May 17
8
scheduler independent forced vcpu selection
I''m working on a new hypercall, do_confer, which allows the directed yielding of a vcpu to another vcpu. It is mainly used when a vcpu fails to acquire a spinlock, yielding to the lock holder instead of spinning. I ported the ppc64 spinlock implementation for the i386 linux portion. In implementing the hypercall, I''ve been trying to figure out how to get the scheduler
2005 Apr 02
1
[PATCH] VMX support for MMIO/PIO in VM8086 mode
...gt;ecx; + p->count = vm86 ? regs->ecx & 0xFFFF : regs->ecx; if ((p->u.data & PAGE_MASK) != ((p->u.data + p->count * p->size - 1) & PAGE_MASK)) { printk("stringio crosses page boundary!\n"); @@ -368,13 +384,20 @@ do_block(); } +static int +vm86assist(struct exec_domain *d) +{ + /* stay tuned ... */ + return 0; +} + #define CASE_GET_REG(REG, reg) \ case REG_ ## REG: value = regs->reg; break /* * Write to control registers */ -static void mov_to_cr(int gp, int cr, struct xen_regs *regs) +stat...
2005 Jul 13
14
[Patch] Fix IDLE issue with sedf scheduler on IA64
Hi, Dan, This patch fixes strange behavior on IA64, that IDLE is scheduled more than Dom0 with default sEDF scheduler. The key point is reprogram_ac_timer at the end of ac_timer dispatcher, which programs local apic timer with expire of next ac_timer on x86. Higher precision lapic timer can trigger ac_timer more precisely than simply done in PIT interrupt handler. That works perfectly on x86
2008 Jul 16
7
Please help: domU becomes unresponsive
Hi all, sorry to intrude on xen-devel, but I think I need direction from the expertise here. I''ve admin''d Xen servers of various flavors for a couple years, but never seen this before. After a period ranging from several hours to several days, my primary database and development DomU completely locks up. Net disconnects, but CPU(sec) continues to tick in xentop. No errors, and
2008 Dec 08
10
[PATCH] Accurate vcpu weighting for credit scheduler
Hi, This patch intends to accurate vcpu weighting for CPU intensive job. The reason of this problem is that vcpu round-robin queue blocks large weight vcpus by small weight vcpus. For example, we assume following case on 2pcpu environment. (with 4domains (each domain has 2vcpus)) dom1 vcpu0,1 w128 credit 4 dom2 vcpu0,1 w128 credit 4 dom3 vcpu0,1 w256 credit 8 dom4 vcpu0,1 w512 credit 15
2006 Oct 04
0
[PATCH,RFC 6/17] 32-on-64 shared info handling
...} Index: 2006-10-04/xen/common/schedule.c =================================================================== --- 2006-10-04.orig/xen/common/schedule.c 2006-10-04 08:49:30.000000000 +0200 +++ 2006-10-04/xen/common/schedule.c 2006-10-04 15:11:03.000000000 +0200 @@ -277,10 +277,11 @@ static long do_block(void) static long do_poll(struct sched_poll *sched_poll) { - struct vcpu *v = current; - evtchn_port_t port; - long rc = 0; - unsigned int i; + struct vcpu *v = current; + struct domain *d = v->domain; + evtchn_port_t port; + long rc = 0; +...
2013 May 31
62
cpuidle and un-eoid interrupts at the local apic
...: (XEN) [<ffff82c48016b2b4>] do_IRQ+0x514/0x750 (XEN) 15[<ffff82c480162ca0>] common_interrupt+0x20/0x30 (XEN) 32[<ffff82c4801a50a0>] lapic_timer_nop+0x0/0x10 (XEN) 38[<ffff82c4801a6a56>] acpi_processor_idle+0x376/0x740 (XEN) 43[<ffff82c480122c11>] do_block+0x71/0xd0 (XEN) 56[<ffff82c48015b67a>] idle_loop+0x1a/0x50 (XEN) (XEN) (XEN) **************************************** (XEN) Panic on CPU 0: (XEN) Assertion ''(sp == 0) || (peoi[sp-1].vector < vector)'' failed at irq.c:1030 (XEN) ************************************...
2013 Mar 12
14
vpmu=1 and running 'perf top' within a PVHVM guest eventually hangs dom0 and hypervisor has stuck vCPUS. Romley-EP (model=45, stepping=2)
This issue I am encountering seems to only happen on multi-socket machines. It also does not help that the only multi-socket box I have is an Romley-EP (so two socket SandyBridge CPUs). The other SandyBridge boxes I''ve (one socket) are not showing this. Granted they are also a different model (42). The problem is that when I run ''perf top'' within an SMP PVHVM guest,