search for: account_system_time

Displaying 18 results from an estimated 18 matches for "account_system_time".

2007 Aug 20
0
[PATCH 3/4] modify account_system_time() to update guest time in cpustat and task_struct
[PATCH 3/4] modify account_system_time() to add cputime to cpustat->guest i= f we are running a VCPU. We add this cputime to cpustat->user instead of cpustat->system because this part of KVM code is in fact user code although= it is executed in the kernel. We duplicate VCPU time between guest and user to allow an unmodified &...
2007 Aug 20
0
[PATCH 3/4] modify account_system_time() to update guest time in cpustat and task_struct
[PATCH 3/4] modify account_system_time() to add cputime to cpustat->guest i= f we are running a VCPU. We add this cputime to cpustat->user instead of cpustat->system because this part of KVM code is in fact user code although= it is executed in the kernel. We duplicate VCPU time between guest and user to allow an unmodified &...
2007 Aug 13
1
[kvm-devel] [PATCH 0/2][KVM] guest time accounting
...gt; machine. All comments are welcome... I'm not sure it's the good way to do that. > > [PATCH 1/2] introduce a new field, "guest", in cpustat to store the time used by > the CPU to run virtual CPU. Modify /proc/stat to display this new field. > > [PATCH 2/2] modify account_system_time() to add cputime to cpustat->guest if we > are running a VCPU. We add this cputime to cpustat->user instead of > cpustat->system because this part of KVM code is in fact user code although it > is executed in the kernel. We duplicate VCPU time between guest and user to > allow...
2007 Aug 13
1
[kvm-devel] [PATCH 0/2][KVM] guest time accounting
...gt; machine. All comments are welcome... I'm not sure it's the good way to do that. > > [PATCH 1/2] introduce a new field, "guest", in cpustat to store the time used by > the CPU to run virtual CPU. Modify /proc/stat to display this new field. > > [PATCH 2/2] modify account_system_time() to add cputime to cpustat->guest if we > are running a VCPU. We add this cputime to cpustat->user instead of > cpustat->system because this part of KVM code is in fact user code although it > is executed in the kernel. We duplicate VCPU time between guest and user to > allow...
2007 Aug 20
4
[PATCH 0/4] Virtual Machine Time Accounting
...this new field. [PATCH 2/4] like for cpustat, introduce the "gtime" (guest time of the task) and "cgtime" (guest time of the task children) fields for the tasks. Modify signal_struct and task_struct. Modify /proc/<pid>/stat to display these new fields. [PATCH 3/4] modify account_system_time() to add cputime to cpustat->guest if we are running a VCPU. We add this cputime to cpustat->user instead of cpustat->system because this part of KVM code is in fact user code although it is executed in the kernel. We duplicate VCPU time between guest and user to allow an unmodified &quot...
2007 Aug 20
4
[PATCH 0/4] Virtual Machine Time Accounting
...this new field. [PATCH 2/4] like for cpustat, introduce the "gtime" (guest time of the task) and "cgtime" (guest time of the task children) fields for the tasks. Modify signal_struct and task_struct. Modify /proc/<pid>/stat to display these new fields. [PATCH 3/4] modify account_system_time() to add cputime to cpustat->guest if we are running a VCPU. We add this cputime to cpustat->user instead of cpustat->system because this part of KVM code is in fact user code although it is executed in the kernel. We duplicate VCPU time between guest and user to allow an unmodified &quot...
2007 Apr 18
1
[RFC, PATCH 24/24] i386 Vmi no idle hz
...@ static void update_wall_time(unsigned lo void update_process_times(int user_tick) { struct task_struct *p = current; - int cpu = smp_processor_id(); /* Note: this timer irq context must be accounted for as well. */ if (user_tick) account_user_time(p, jiffies_to_cputime(1)); else account_system_time(p, HARDIRQ_OFFSET, jiffies_to_cputime(1)); - run_local_timers(); - if (rcu_pending(cpu)) - rcu_check_callbacks(cpu, user_tick); - scheduler_tick(); - run_posix_cpu_timers(p); + + after_process_times_updated(user_tick, p); +} + +void update_idle_times(cputime_t idle_time) +{ + /* current should be...
2007 Apr 18
1
[RFC, PATCH 24/24] i386 Vmi no idle hz
...@ static void update_wall_time(unsigned lo void update_process_times(int user_tick) { struct task_struct *p = current; - int cpu = smp_processor_id(); /* Note: this timer irq context must be accounted for as well. */ if (user_tick) account_user_time(p, jiffies_to_cputime(1)); else account_system_time(p, HARDIRQ_OFFSET, jiffies_to_cputime(1)); - run_local_timers(); - if (rcu_pending(cpu)) - rcu_check_callbacks(cpu, user_tick); - scheduler_tick(); - run_posix_cpu_timers(p); + + after_process_times_updated(user_tick, p); +} + +void update_idle_times(cputime_t idle_time) +{ + /* current should be...
2016 Jul 21
2
[Bug 97021] New: Screen locks up randomly while only mouse pointer moves, system responsive via ssh
...10a7fbf>] sched_show_task+0xaf/0x110 [ 4071.796831] [<ffffffff810aa7f9>] dump_cpu_task+0x39/0x40 [ 4071.796834] [<ffffffff810dda77>] rcu_dump_cpu_stacks+0x87/0xc0 [ 4071.796838] [<ffffffff810e1610>] rcu_check_callbacks+0x470/0x720 [ 4071.796841] [<ffffffff810ab2d1>] ? account_system_time+0x81/0x110 [ 4071.796844] [<ffffffff810ab57b>] ? account_process_tick+0x6b/0x170 [ 4071.796872] [<ffffffffc01d972f>] ? nvkm_engine_intr+0x1f/0x30 [nouveau] [ 4071.796876] [<ffffffff810f60d0>] ? tick_sched_do_timer+0x30/0x30 [ 4071.796880] [<ffffffff810e6b02>] update_proc...
2007 Apr 18
0
[RFC, PATCH 23/24] i386 Vmi timer patch
...-2.6.16-rc6.orig/include/linux/kernel_stat.h 2006-01-02 19:21:10.000000000 -0800 +++ linux-2.6.16-rc6/include/linux/kernel_stat.h 2006-03-12 19:57:48.000000000 -0800 @@ -55,5 +55,6 @@ static inline int kstat_irqs(int irq) extern void account_user_time(struct task_struct *, cputime_t); extern void account_system_time(struct task_struct *, int, cputime_t); extern void account_steal_time(struct task_struct *, cputime_t); +extern void account_cpu_steal_time(cputime_t); #endif /* _LINUX_KERNEL_STAT_H */ Index: linux-2.6.16-rc6/kernel/sched.c =================================================================== --...
2007 Apr 18
0
[RFC, PATCH 23/24] i386 Vmi timer patch
...-2.6.16-rc6.orig/include/linux/kernel_stat.h 2006-01-02 19:21:10.000000000 -0800 +++ linux-2.6.16-rc6/include/linux/kernel_stat.h 2006-03-12 19:57:48.000000000 -0800 @@ -55,5 +55,6 @@ static inline int kstat_irqs(int irq) extern void account_user_time(struct task_struct *, cputime_t); extern void account_system_time(struct task_struct *, int, cputime_t); extern void account_steal_time(struct task_struct *, cputime_t); +extern void account_cpu_steal_time(cputime_t); #endif /* _LINUX_KERNEL_STAT_H */ Index: linux-2.6.16-rc6/kernel/sched.c =================================================================== --...
2017 Mar 02
2
[Bug 100035] New: nouveau runtime pm causes soft lockups and hangs during boot
...[ 91.721140] Call Trace: [ 91.721141] <IRQ> [ 91.721143] sched_show_task+0xd5/0x140 [ 91.721144] dump_cpu_task+0x39/0x40 [ 91.721169] rcu_dump_cpu_stacks+0x80/0xbb [ 91.721171] rcu_check_callbacks+0x71e/0x880 [ 91.721172] ? acct_account_cputime+0x1c/0x20 [ 91.721173] ? account_system_time+0x73/0x100 [ 91.721175] ? tick_sched_do_timer+0x40/0x40 [ 91.721176] update_process_times+0x2f/0x60 [ 91.721177] tick_sched_handle.isra.15+0x25/0x60 [ 91.721178] tick_sched_timer+0x3d/0x70 [ 91.721179] __hrtimer_run_queues+0xe5/0x250 [ 91.721180] hrtimer_interrupt+0xa8/0x1a0 [ 9...
2008 Mar 20
1
[RFC/PATCH 05/15] kvm-s390: s390 arch backend for the kvm kernel module
.../math-emu/ Index: kvm/arch/s390/kernel/vtime.c =================================================================== --- kvm.orig/arch/s390/kernel/vtime.c +++ kvm/arch/s390/kernel/vtime.c @@ -110,6 +110,7 @@ void account_system_vtime(struct task_st S390_lowcore.steal_clock -= cputime << 12; account_system_time(tsk, 0, cputime); } +EXPORT_SYMBOL_GPL(account_system_vtime); static inline void set_vtimer(__u64 expires) { Index: kvm/arch/s390/kvm/Makefile =================================================================== --- /dev/null +++ kvm/arch/s390/kvm/Makefile @@ -0,0 +1,14 @@ +# Makefile for kerne...
2008 Mar 20
1
[RFC/PATCH 05/15] kvm-s390: s390 arch backend for the kvm kernel module
.../math-emu/ Index: kvm/arch/s390/kernel/vtime.c =================================================================== --- kvm.orig/arch/s390/kernel/vtime.c +++ kvm/arch/s390/kernel/vtime.c @@ -110,6 +110,7 @@ void account_system_vtime(struct task_st S390_lowcore.steal_clock -= cputime << 12; account_system_time(tsk, 0, cputime); } +EXPORT_SYMBOL_GPL(account_system_vtime); static inline void set_vtimer(__u64 expires) { Index: kvm/arch/s390/kvm/Makefile =================================================================== --- /dev/null +++ kvm/arch/s390/kvm/Makefile @@ -0,0 +1,14 @@ +# Makefile for kerne...
2008 Mar 20
34
[RFC/PATCH 00/15] kvm on big iron
This patch series introduces a backend for kvm to run on IBM System z machines that uses the mainframe's sie virtualization capability. This work runs 64bit guests on z800/z890/z900/z990/z9/z10 class machines with a 64bit linux host. Userspace will follow once we're done brushing it over. The patch queue consists of the following patches, which can be applied in sequence on top of kvm.git
2008 Mar 20
34
[RFC/PATCH 00/15] kvm on big iron
This patch series introduces a backend for kvm to run on IBM System z machines that uses the mainframe's sie virtualization capability. This work runs 64bit guests on z800/z890/z900/z990/z9/z10 class machines with a 64bit linux host. Userspace will follow once we're done brushing it over. The patch queue consists of the following patches, which can be applied in sequence on top of kvm.git
2007 Apr 18
43
[RFC PATCH 00/35] Xen i386 paravirtualization support
Unlike full virtualization in which the virtual machine provides the same platform interface as running natively on the hardware, paravirtualization requires modification to the guest operating system to work with the platform interface provided by the hypervisor. Xen was designed with performance in mind. Calls to the hypervisor are minimized, batched if necessary, and non-critical codepaths
2007 Apr 18
43
[RFC PATCH 00/35] Xen i386 paravirtualization support
Unlike full virtualization in which the virtual machine provides the same platform interface as running natively on the hardware, paravirtualization requires modification to the guest operating system to work with the platform interface provided by the hypervisor. Xen was designed with performance in mind. Calls to the hypervisor are minimized, batched if necessary, and non-critical codepaths