search for: swait

Displaying 12 results from an estimated 12 matches for "swait".

Did you mean: wait
2020 Feb 07
0
[RFC PATCH v7 01/78] sched/swait: add swait_event_killable_exclusive()
...cted, it waits for introspection commands or event replies. If the introspection channel is closed, the receiving thread will wake-up the vCPU threads. With this function the vCPU thread will wake-up on SIGKILL too. Signed-off-by: Adalbert Laz?r <alazar at bitdefender.com> --- include/linux/swait.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/include/linux/swait.h b/include/linux/swait.h index 73e06e9986d4..9c53383219f6 100644 --- a/include/linux/swait.h +++ b/include/linux/swait.h @@ -297,4 +297,15 @@ do { \ __ret; \ }) +#define __swait_event_killabl...
2004 Nov 22
0
new application swait...
Hi everyone, I've just finished the 'SWait' app for *. SWait = Super Wait :) Syntax: SWait([timeout][cim]) 'timeout' is the number of seconds to wait. Defaults to 'ResponseTimeout'. 'c' is for continue. This changes the default behavior of the app from performing a 'Goto(t,1)' on timeout, to a ...
2019 Aug 09
0
[RFC PATCH v6 13/92] kvm: introspection: make the vCPU wait even when its jobs list is empty
...ing if the list is not empty or it doesn't have to wait any longer or (b) wait (in the same wake-queue used by KVM) until it is kicked. It should be OK if the receiving worker appends a new job in the same time. Signed-off-by: Adalbert Laz?r <alazar at bitdefender.com> --- include/linux/swait.h | 11 ++++++ virt/kvm/kvmi.c | 80 +++++++++++++++++++++++++++++++++++++++++++ virt/kvm/kvmi_int.h | 2 ++ 3 files changed, 93 insertions(+) diff --git a/include/linux/swait.h b/include/linux/swait.h index 73e06e9986d4..2486625e7fb4 100644 --- a/include/linux/swait.h +++ b/include/linux...
2019 Aug 09
0
[RFC PATCH v6 14/92] kvm: introspection: handle introspection commands before returning to guest
...tu at bitdefender.com> The introspection requests (KVM_REQ_INTROSPECTION) are checked by any introspected vCPU in two places: * on its way to guest - vcpu_enter_guest() * when halted - kvm_vcpu_block() In kvm_vcpu_block(), we check to see if there are any introspection requests during the swait loop, handle them outside of swait loop and start swait again. Signed-off-by: Mihai Don?u <mdontu at bitdefender.com> Co-developed-by: Mircea C?rjaliu <mcirjaliu at bitdefender.com> Signed-off-by: Mircea C?rjaliu <mcirjaliu at bitdefender.com> Signed-off-by: Adalbert Laz?r <al...
2017 Nov 13
0
[PATCH RFC v3 6/6] KVM guest: introduce smart idle poll algorithm
...1 files changed, 47 insertions(+), 0 deletions(-) diff --git a/arch/x86/kernel/kvm.c b/arch/x86/kernel/kvm.c index 2a6e402..8bb6d55 100644 --- a/arch/x86/kernel/kvm.c +++ b/arch/x86/kernel/kvm.c @@ -37,6 +37,7 @@ #include <linux/debugfs.h> #include <linux/nmi.h> #include <linux/swait.h> +#include <linux/tick.h> #include <asm/timer.h> #include <asm/cpu.h> #include <asm/traps.h> @@ -365,11 +366,57 @@ static void kvm_guest_cpu_init(void) kvm_register_steal_time(); } +static unsigned int grow_poll_ns(unsigned int old, unsigned int grow, + uns...
2017 Nov 13
0
[PATCH RFC v3 6/6] KVM guest: introduce smart idle poll algorithm
...1 files changed, 47 insertions(+), 0 deletions(-) diff --git a/arch/x86/kernel/kvm.c b/arch/x86/kernel/kvm.c index 2a6e402..8bb6d55 100644 --- a/arch/x86/kernel/kvm.c +++ b/arch/x86/kernel/kvm.c @@ -37,6 +37,7 @@ #include <linux/debugfs.h> #include <linux/nmi.h> #include <linux/swait.h> +#include <linux/tick.h> #include <asm/timer.h> #include <asm/cpu.h> #include <asm/traps.h> @@ -365,11 +366,57 @@ static void kvm_guest_cpu_init(void) kvm_register_steal_time(); } +static unsigned int grow_poll_ns(unsigned int old, unsigned int grow, + uns...
2002 Jul 16
0
SaMBa 2.2.2 Eating CPU!
...n expected... Bellow is one of my TOP screens... Processes that take 0.40% CPU now take 7.61%! System: L024 Tue Jul 16 14:39:41 2002 Load averages: 6.09, 6.33, 5.88 121 processes: 115 sleeping, 6 running Cpu states: LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS 6.09 52.7% 0.6% 46.3% 0.4% 0.0% 0.0% 0.0% 0.0% Memory: 99764K (59148K) real, 147820K (53408K) virtual, 45076K free Page# 1/9 TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND ? 931 corana 232 20 12348K 11956K run 621:55 26.28 26.23...
2013 Mar 08
2
[PATCH v2 1/2] credit2: Fix erronous ASSERT
...as taken off the - * runqueue, then csched_schedule() should have called - * reset_credit(). So at this point snext->credit must be greater - * than 0. - * - * 2. snext''s credit must be greater than or equal to anyone else - * in the queue, so snext->credit - swait->credit must be greater - * than or equal to 0. - */ - ASSERT(rt_credit >= 0); - - /* FIXME: See if we can eliminate this conversion if we know time - * will be outside (MIN,MAX). Probably requires pre-calculating - * credit values of MIN,MAX per vcpu, since each vcpu b...
2020 Feb 07
78
[RFC PATCH v7 00/78] VM introspection
...TEP and KVMI_VCPU_TRANSLATE_GVA [Mathieu] - restore the status of MSRs, CR3, descriptors access interception and prevent conflicts with userspace [Sean] - other fixes for allmost all the issues pointed in the previous code review [Sean, Paolo] Adalbert Laz?r (19): sched/swait: add swait_event_killable_exclusive() KVM: add new error codes for VM introspection KVM: add kvm_vcpu_kick_and_wait() KVM: doc: fix the hypercall numbering KVM: x86: add .control_cr3_intercept() to struct kvm_x86_ops KVM: x86: add .control_desc_intercept() KVM: x86: intercept the write...
2019 Aug 09
117
[RFC PATCH v6 00/92] VM introspection
...| 601 ++++++- drivers/gpu/drm/i915/gvt/kvmgt.c | 2 +- include/linux/kvm_host.h | 26 + include/linux/kvmi.h | 68 + include/linux/page-flags.h | 9 +- include/linux/remote_mapping.h | 167 ++ include/linux/swait.h | 11 + include/trace/events/kvmi.h | 680 +++++++ include/uapi/linux/kvm.h | 34 + include/uapi/linux/kvm_para.h | 10 +- include/uapi/linux/kvmi.h | 286 +++ include/uapi/linux/remote_mapping.h | 18 + kern...
2019 Aug 09
117
[RFC PATCH v6 00/92] VM introspection
...| 601 ++++++- drivers/gpu/drm/i915/gvt/kvmgt.c | 2 +- include/linux/kvm_host.h | 26 + include/linux/kvmi.h | 68 + include/linux/page-flags.h | 9 +- include/linux/remote_mapping.h | 167 ++ include/linux/swait.h | 11 + include/trace/events/kvmi.h | 680 +++++++ include/uapi/linux/kvm.h | 34 + include/uapi/linux/kvm_para.h | 10 +- include/uapi/linux/kvmi.h | 286 +++ include/uapi/linux/remote_mapping.h | 18 + kern...
2009 Mar 30
0
liblber-2.3.so.0 and libldap-2.3.so.0 -needed for Php 5.2
I am trying to upgrade Php 5.1 to 5.2, I have added a few repos for yum, but I end up getting two errors: Missing Dependency: libldap-2.3.so.0 is needed by package php-ldap Missing Dependency: liblber-2.3.so.0 is needed by package php-ldap I have openldap 2.4 installed, libldap-2.4.so.2.2.0 and liblber-2.4.so.2.2.0 are present. I know that I could link to these files correct? But would that