search for: hz_timer

Displaying 10 results from an estimated 10 matches for "hz_timer".

Did you mean: do_timer
2007 Apr 18
1
[RFC, PATCH 24/24] i386 Vmi no idle hz
...ng idle. + This reduces the overhead of an idle system. Also, this causes + the guest to voluntarily block until it has some useful work to do, + rather than running in order to just handle timer interrupts. + + The HZ timer can be switched on/off via /proc/sys/kernel/hz_timer. + hz_timer=0 means HZ timer is disabled. hz_timer=1 means HZ + timer is active. + + In order for this option to take effect, the kernel must be running + on a hypervisor. This option has no effect when running on native + hardware. + choice prompt "VMI ala...
2007 Apr 18
1
[RFC, PATCH 24/24] i386 Vmi no idle hz
...ng idle. + This reduces the overhead of an idle system. Also, this causes + the guest to voluntarily block until it has some useful work to do, + rather than running in order to just handle timer interrupts. + + The HZ timer can be switched on/off via /proc/sys/kernel/hz_timer. + hz_timer=0 means HZ timer is disabled. hz_timer=1 means HZ + timer is active. + + In order for this option to take effect, the kernel must be running + on a hypervisor. This option has no effect when running on native + hardware. + choice prompt "VMI ala...
2007 Apr 18
0
[PATCH 6/6] VMI timer patches
...void (fastcall *halt)(void); } vmi_ops; /* XXX move this to alternative.h */ @@ -252,7 +254,20 @@ 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(); + vmi_ops.halt(); + if (idle) { + local_irq_disable(); + vmi_account_time_restart_hz_timer(); + local_irq_enable(); + } +} +#endif + #ifdef CONFIG_DEBUG_PAGE_TYPE #ifdef CONFIG_X86_PAE @@ -726,7 +741,12 @@ static inline int __init activate_vmi(vo (char *)paravirt_ops.save_fl); p...
2007 Apr 18
0
[PATCH 6/6] VMI timer patches
...void (fastcall *halt)(void); } vmi_ops; /* XXX move this to alternative.h */ @@ -252,7 +254,20 @@ 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(); + vmi_ops.halt(); + if (idle) { + local_irq_disable(); + vmi_account_time_restart_hz_timer(); + local_irq_enable(); + } +} +#endif + #ifdef CONFIG_DEBUG_PAGE_TYPE #ifdef CONFIG_X86_PAE @@ -726,7 +741,12 @@ static inline int __init activate_vmi(vo (char *)paravirt_ops.save_fl); p...
2007 Apr 18
0
[PATCH 5/5] Vmi timer.patch
...void (fastcall *halt)(void); } vmi_ops; /* XXX move this to alternative.h */ @@ -252,7 +254,20 @@ 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(); + vmi_ops.halt(); + if (idle) { + local_irq_disable(); + vmi_account_time_restart_hz_timer(); + local_irq_enable(); + } +} +#endif + #ifdef CONFIG_DEBUG_PAGE_TYPE #ifdef CONFIG_X86_PAE @@ -726,7 +741,12 @@ static inline int __init activate_vmi(vo (char *)paravirt_ops.save_fl); p...
2007 Apr 18
0
[PATCH 5/5] Vmi timer.patch
...void (fastcall *halt)(void); } vmi_ops; /* XXX move this to alternative.h */ @@ -252,7 +254,20 @@ 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(); + vmi_ops.halt(); + if (idle) { + local_irq_disable(); + vmi_account_time_restart_hz_timer(); + local_irq_enable(); + } +} +#endif + #ifdef CONFIG_DEBUG_PAGE_TYPE #ifdef CONFIG_X86_PAE @@ -726,7 +741,12 @@ static inline int __init activate_vmi(vo (char *)paravirt_ops.save_fl); p...
2007 Apr 18
1
[PATCH 9/10] Vmi timer update.patch
...i_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 CONFIG_X86_PAE @@ -714,7 +705,6 @@ do { \ vmi_ops.cache = (void *)rel->eip; \ } \ } while (0) - /*...
2007 Apr 18
1
[PATCH 9/10] Vmi timer update.patch
...i_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 CONFIG_X86_PAE @@ -714,7 +705,6 @@ do { \ vmi_ops.cache = (void *)rel->eip; \ } \ } while (0) - /*...
2007 Apr 18
31
[PATCH 00/28] Updates for firstfloor paravirt-ops patches
Hi Andi, This is a set of updates for the firstfloor patch queue. Quick rundown: revert-mm-x86_64-mm-account-for-module-percpu-space-separately-from-kernel-percpu.patch separate-module-percpu-space.patch Update the module percpu accounting patch fix-ff-allow-percpu-variables-to-be-page-aligned.patch Make sure the percpu memory allocation is page-aligned
2007 Apr 18
31
[PATCH 00/28] Updates for firstfloor paravirt-ops patches
Hi Andi, This is a set of updates for the firstfloor patch queue. Quick rundown: revert-mm-x86_64-mm-account-for-module-percpu-space-separately-from-kernel-percpu.patch separate-module-percpu-space.patch Update the module percpu accounting patch fix-ff-allow-percpu-variables-to-be-page-aligned.patch Make sure the percpu memory allocation is page-aligned