search for: no_idle_hz

Displaying 20 results from an estimated 51 matches for "no_idle_hz".

2007 Apr 18
1
[RFC, PATCH 24/24] i386 Vmi no idle hz
A NO_IDLE_HZ implementation is provided for i386 VMI builds. When a VCPU enters its idle loop, it disables its periodic alarm and sets up a one shot alarm for the next time event. That way, it does not become ready to run just to service the periodic alarm interrupt. Instead, it can remain halted until there i...
2007 Apr 18
1
[RFC, PATCH 24/24] i386 Vmi no idle hz
A NO_IDLE_HZ implementation is provided for i386 VMI builds. When a VCPU enters its idle loop, it disables its periodic alarm and sets up a one shot alarm for the next time event. That way, it does not become ready to run just to service the periodic alarm interrupt. Instead, it can remain halted until there i...
2007 Apr 18
2
+ stupid-hack-to-make-mainline-build.patch added to -mm tree
Ingo Molnar wrote: > * Ingo Molnar <mingo@elte.hu> wrote: > > >> no, that's not the case: next_timer_interrupt() is the NO_IDLE_HZ >> method of doing things - while in the NO_HZ case you are supposed to >> use clockevent devices to program timer hardware. >> We don't have a clockevent device. But we need NO_IDLE_HZ support, which NO_HZ has now subsumed. > a proper CE device also has the adde...
2007 Apr 18
2
+ stupid-hack-to-make-mainline-build.patch added to -mm tree
Ingo Molnar wrote: > * Ingo Molnar <mingo@elte.hu> wrote: > > >> no, that's not the case: next_timer_interrupt() is the NO_IDLE_HZ >> method of doing things - while in the NO_HZ case you are supposed to >> use clockevent devices to program timer hardware. >> We don't have a clockevent device. But we need NO_IDLE_HZ support, which NO_HZ has now subsumed. > a proper CE device also has the adde...
2008 Jun 19
0
[PATCH] ia64/pv_ops: update Kconfig for paravirtualized guest and xen.
.../dev/null +++ b/arch/ia64/xen/Kconfig @@ -0,0 +1,26 @@ +# +# This Kconfig describes xen/ia64 options +# + +config XEN + bool "Xen hypervisor support" + default y + depends on PARAVIRT && MCKINLEY && IA64_PAGE_SIZE_16KB && EXPERIMENTAL + select XEN_XENCOMM + select NO_IDLE_HZ + + # those are required to save/restore. + select ARCH_SUSPEND_POSSIBLE + select SUSPEND + select PM_SLEEP + help + Enable Xen hypervisor support. Resulting kernel runs + both as a guest OS on Xen and natively on hardware. + +config XEN_XENCOMM + depends on XEN + bool + +config NO_IDLE_HZ + d...
2008 Jun 19
0
[PATCH] ia64/pv_ops: update Kconfig for paravirtualized guest and xen.
.../dev/null +++ b/arch/ia64/xen/Kconfig @@ -0,0 +1,26 @@ +# +# This Kconfig describes xen/ia64 options +# + +config XEN + bool "Xen hypervisor support" + default y + depends on PARAVIRT && MCKINLEY && IA64_PAGE_SIZE_16KB && EXPERIMENTAL + select XEN_XENCOMM + select NO_IDLE_HZ + + # those are required to save/restore. + select ARCH_SUSPEND_POSSIBLE + select SUSPEND + select PM_SLEEP + help + Enable Xen hypervisor support. Resulting kernel runs + both as a guest OS on Xen and natively on hardware. + +config XEN_XENCOMM + depends on XEN + bool + +config NO_IDLE_HZ + d...
2007 Apr 18
0
[PATCH 0/10] i386, VMI, BusLogic, Timer fixes for -mm
...s conflicts with where things get defined that just is ugly. Some VMI fixes; we support COMPAT_VDSO now that the relocation code is there, re-add the lazy MMU fix now that Jeremy's cleanups have been applied to -mm, implement kmap_atomic_pte. Next, re-implement the VMI timer, dropping all the NO_IDLE_HZ code, making it dependent on NO_HZ and using the proper clockevents infrastructure. I am looking for feedback on this, but it works and applies as is, and is certainly better and cleaner than the existing code. Hopefully I have taken as many fingers out of the APIC pie as possible. Finally, fix...
2007 Apr 18
0
[PATCH 0/10] i386, VMI, BusLogic, Timer fixes for -mm
...s conflicts with where things get defined that just is ugly. Some VMI fixes; we support COMPAT_VDSO now that the relocation code is there, re-add the lazy MMU fix now that Jeremy's cleanups have been applied to -mm, implement kmap_atomic_pte. Next, re-implement the VMI timer, dropping all the NO_IDLE_HZ code, making it dependent on NO_HZ and using the proper clockevents infrastructure. I am looking for feedback on this, but it works and applies as is, and is certainly better and cleaner than the existing code. Hopefully I have taken as many fingers out of the APIC pie as possible. Finally, fix...
2007 Apr 18
0
[PATCH 1/9] Vmi timer fixes round two.patch
...arch/i386/kernel/vmi.c Tue Feb 27 14:12:46 2007 -0800 @@ -54,6 +54,7 @@ static int disable_sep; static int disable_sep; static int disable_tsc; static int disable_mtrr; +static int disable_noidle; /* Cached VMI operations */ struct { @@ -255,7 +256,6 @@ static void vmi_nop(void) } /* For NO_IDLE_HZ, we stop the clock when halting the kernel */ -#ifdef CONFIG_NO_IDLE_HZ static fastcall void vmi_safe_halt(void) { int idle = vmi_stop_hz_timer(); @@ -266,7 +266,6 @@ static fastcall void vmi_safe_halt(void) local_irq_enable(); } } -#endif #ifdef CONFIG_DEBUG_PAGE_TYPE @@ -742,12 +74...
2007 Apr 18
0
[PATCH 1/9] Vmi timer fixes round two.patch
...arch/i386/kernel/vmi.c Tue Feb 27 14:12:46 2007 -0800 @@ -54,6 +54,7 @@ static int disable_sep; static int disable_sep; static int disable_tsc; static int disable_mtrr; +static int disable_noidle; /* Cached VMI operations */ struct { @@ -255,7 +256,6 @@ static void vmi_nop(void) } /* For NO_IDLE_HZ, we stop the clock when halting the kernel */ -#ifdef CONFIG_NO_IDLE_HZ static fastcall void vmi_safe_halt(void) { int idle = vmi_stop_hz_timer(); @@ -266,7 +266,6 @@ static fastcall void vmi_safe_halt(void) local_irq_enable(); } } -#endif #ifdef CONFIG_DEBUG_PAGE_TYPE @@ -742,12 +74...
2007 Apr 18
2
[PATCH RFC] Change softlockup watchdog to ignore stolen time
The softlockup watchdog is currently a nuisance in a virtual machine, since the whole system could have the CPU stolen from it for a long period of time. While it would be unlikely for a guest domain to be denied timer interrupts for over 10s, it could happen and any softlockup message would be completely spurious. Earlier I proposed that sched_clock() return time in unstolen nanoseconds, which
2007 Apr 18
2
[PATCH RFC] Change softlockup watchdog to ignore stolen time
The softlockup watchdog is currently a nuisance in a virtual machine, since the whole system could have the CPU stolen from it for a long period of time. While it would be unlikely for a guest domain to be denied timer interrupts for over 10s, it could happen and any softlockup message would be completely spurious. Earlier I proposed that sched_clock() return time in unstolen nanoseconds, which
2007 Apr 18
0
[PATCH 6/6] VMI timer patches
...es Signed-off-by: Zachary Amsden <zach@vmware.com> diff -r 77e4058e936b arch/i386/Kconfig --- a/arch/i386/Kconfig Thu Dec 14 16:40:14 2006 -0800 +++ b/arch/i386/Kconfig Thu Dec 14 16:40:16 2006 -0800 @@ -1227,3 +1227,12 @@ config KTIME_SCALAR config KTIME_SCALAR bool default y + +config NO_IDLE_HZ + bool + depends on PARAVIRT + default y + help + Switches the regular HZ timer off when the system is going idle. + This helps a hypervisor detect that the Linux system is idle, + reducing the overhead of idle systems. diff -r 77e4058e936b arch/i386/kernel/Makefile --- a/arch/i386/kernel/Mak...
2007 Apr 18
0
[PATCH 6/6] VMI timer patches
...es Signed-off-by: Zachary Amsden <zach@vmware.com> diff -r 77e4058e936b arch/i386/Kconfig --- a/arch/i386/Kconfig Thu Dec 14 16:40:14 2006 -0800 +++ b/arch/i386/Kconfig Thu Dec 14 16:40:16 2006 -0800 @@ -1227,3 +1227,12 @@ config KTIME_SCALAR config KTIME_SCALAR bool default y + +config NO_IDLE_HZ + bool + depends on PARAVIRT + default y + help + Switches the regular HZ timer off when the system is going idle. + This helps a hypervisor detect that the Linux system is idle, + reducing the overhead of idle systems. diff -r 77e4058e936b arch/i386/kernel/Makefile --- a/arch/i386/kernel/Mak...
2007 Apr 18
0
[PATCH 5/5] Vmi timer.patch
.... Signed-off-by: Zachary Amsden <zach@vmware.com> diff -r d1ec5a6e3e8c arch/i386/Kconfig --- a/arch/i386/Kconfig Tue Dec 12 13:53:09 2006 -0800 +++ b/arch/i386/Kconfig Tue Dec 12 13:55:41 2006 -0800 @@ -1221,3 +1221,12 @@ config KTIME_SCALAR config KTIME_SCALAR bool default y + +config NO_IDLE_HZ + bool + depends on PARAVIRT + default y + help + Switches the regular HZ timer off when the system is going idle. + This helps a hypervisor detect that the Linux system is idle, + reducing the overhead of idle systems. diff -r d1ec5a6e3e8c arch/i386/kernel/Makefile --- a/arch/i386/kernel/Mak...
2007 Apr 18
0
[PATCH 5/5] Vmi timer.patch
.... Signed-off-by: Zachary Amsden <zach@vmware.com> diff -r d1ec5a6e3e8c arch/i386/Kconfig --- a/arch/i386/Kconfig Tue Dec 12 13:53:09 2006 -0800 +++ b/arch/i386/Kconfig Tue Dec 12 13:55:41 2006 -0800 @@ -1221,3 +1221,12 @@ config KTIME_SCALAR config KTIME_SCALAR bool default y + +config NO_IDLE_HZ + bool + depends on PARAVIRT + default y + help + Switches the regular HZ timer off when the system is going idle. + This helps a hypervisor detect that the Linux system is idle, + reducing the overhead of idle systems. diff -r d1ec5a6e3e8c arch/i386/kernel/Makefile --- a/arch/i386/kernel/Mak...
2007 Apr 18
1
[PATCH 9/10] Vmi timer update.patch
...386/kernel/vmi.c Mon Apr 09 15:49:37 2007 -0700 @@ -73,6 +73,9 @@ static struct { void (*set_lazy_mode)(int mode); } vmi_ops; +/* Cached VMI operations */ +struct vmi_timer_ops vmi_timer_ops; + /* * VMI patching routines. */ @@ -231,18 +234,6 @@ static void vmi_nop(void) { } -/* For NO_IDLE_HZ, we stop the clock when halting the kernel */ -static fastcall void vmi_safe_halt(void) -{ - int idle = vmi_stop_hz_timer(); - vmi_ops.halt(); - if (idle) { - local_irq_disable(); - vmi_account_time_restart_hz_timer(); - local_irq_enable(); - } -} - #ifdef CONFIG_DEBUG_PAGE_TYPE #ifdef CONFI...
2007 Apr 18
1
[PATCH 9/10] Vmi timer update.patch
...386/kernel/vmi.c Mon Apr 09 15:49:37 2007 -0700 @@ -73,6 +73,9 @@ static struct { void (*set_lazy_mode)(int mode); } vmi_ops; +/* Cached VMI operations */ +struct vmi_timer_ops vmi_timer_ops; + /* * VMI patching routines. */ @@ -231,18 +234,6 @@ static void vmi_nop(void) { } -/* For NO_IDLE_HZ, we stop the clock when halting the kernel */ -static fastcall void vmi_safe_halt(void) -{ - int idle = vmi_stop_hz_timer(); - vmi_ops.halt(); - if (idle) { - local_irq_disable(); - vmi_account_time_restart_hz_timer(); - local_irq_enable(); - } -} - #ifdef CONFIG_DEBUG_PAGE_TYPE #ifdef CONFI...
2009 Jan 16
0
[PATCH 1/1] ia64, xen: fixes configs and add default config for ia64 xen domU
...IBRATE_DELAY=y +CONFIG_GENERIC_TIME=y +CONFIG_GENERIC_TIME_VSYSCALL=y +CONFIG_HAVE_SETUP_PER_CPU_AREA=y +CONFIG_DMI=y +CONFIG_EFI=y +CONFIG_GENERIC_IOMAP=y +CONFIG_SCHED_OMIT_FRAME_POINTER=y +CONFIG_AUDIT_ARCH=y +CONFIG_PARAVIRT_GUEST=y +CONFIG_PARAVIRT=y +CONFIG_XEN=y +CONFIG_XEN_XENCOMM=y +CONFIG_NO_IDLE_HZ=y +# CONFIG_IA64_GENERIC is not set +# CONFIG_IA64_DIG is not set +# CONFIG_IA64_DIG_VTD is not set +# CONFIG_IA64_HP_ZX1 is not set +# CONFIG_IA64_HP_ZX1_SWIOTLB is not set +# CONFIG_IA64_SGI_SN2 is not set +# CONFIG_IA64_SGI_UV is not set +# CONFIG_IA64_HP_SIM is not set +CONFIG_IA64_XEN_GUEST=y...
2009 Jan 16
0
[PATCH 1/1] ia64, xen: fixes configs and add default config for ia64 xen domU
...IBRATE_DELAY=y +CONFIG_GENERIC_TIME=y +CONFIG_GENERIC_TIME_VSYSCALL=y +CONFIG_HAVE_SETUP_PER_CPU_AREA=y +CONFIG_DMI=y +CONFIG_EFI=y +CONFIG_GENERIC_IOMAP=y +CONFIG_SCHED_OMIT_FRAME_POINTER=y +CONFIG_AUDIT_ARCH=y +CONFIG_PARAVIRT_GUEST=y +CONFIG_PARAVIRT=y +CONFIG_XEN=y +CONFIG_XEN_XENCOMM=y +CONFIG_NO_IDLE_HZ=y +# CONFIG_IA64_GENERIC is not set +# CONFIG_IA64_DIG is not set +# CONFIG_IA64_DIG_VTD is not set +# CONFIG_IA64_HP_ZX1 is not set +# CONFIG_IA64_HP_ZX1_SWIOTLB is not set +# CONFIG_IA64_SGI_SN2 is not set +# CONFIG_IA64_SGI_UV is not set +# CONFIG_IA64_HP_SIM is not set +CONFIG_IA64_XEN_GUEST=y...