search for: vm_event

Displaying 20 results from an estimated 26 matches for "vm_event".

2018 Mar 19
2
[PATCH v2] virtio_balloon: export hugetlb page allocation counts
Export the number of successful and failed hugetlb page allocations via the virtio balloon driver. These 2 counts come directly from the vm_events HTLB_BUDDY_PGALLOC and HTLB_BUDDY_PGALLOC_FAIL. Signed-off-by: Jonathan Helman <jonathan.helman at oracle.com> --- drivers/virtio/virtio_balloon.c | 6 ++++++ include/uapi/linux/virtio_balloon.h | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/virtio/virt...
2018 Mar 19
2
[PATCH v2] virtio_balloon: export hugetlb page allocation counts
Export the number of successful and failed hugetlb page allocations via the virtio balloon driver. These 2 counts come directly from the vm_events HTLB_BUDDY_PGALLOC and HTLB_BUDDY_PGALLOC_FAIL. Signed-off-by: Jonathan Helman <jonathan.helman at oracle.com> --- drivers/virtio/virtio_balloon.c | 6 ++++++ include/uapi/linux/virtio_balloon.h | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/virtio/virt...
2018 Feb 17
2
[PATCH] virtio_balloon: export huge page allocation statistics
Export statistics for successful and failed huge page allocations from the virtio balloon driver. These 2 stats come directly from the vm_events HTLB_BUDDY_PGALLOC and HTLB_BUDDY_PGALLOC_FAIL. Signed-off-by: Jonathan Helman <jonathan.helman at oracle.com> --- drivers/virtio/virtio_balloon.c | 6 ++++++ include/uapi/linux/virtio_balloon.h | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/virtio/virt...
2018 Feb 17
2
[PATCH] virtio_balloon: export huge page allocation statistics
Export statistics for successful and failed huge page allocations from the virtio balloon driver. These 2 stats come directly from the vm_events HTLB_BUDDY_PGALLOC and HTLB_BUDDY_PGALLOC_FAIL. Signed-off-by: Jonathan Helman <jonathan.helman at oracle.com> --- drivers/virtio/virtio_balloon.c | 6 ++++++ include/uapi/linux/virtio_balloon.h | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/virtio/virt...
2018 Mar 20
2
[PATCH v2] virtio_balloon: export hugetlb page allocation counts
...2018, at 7:31 PM, Jason Wang <jasowang at redhat.com> wrote: > > > > On 2018?03?20? 06:14, Jonathan Helman wrote: >> Export the number of successful and failed hugetlb page >> allocations via the virtio balloon driver. These 2 counts >> come directly from the vm_events HTLB_BUDDY_PGALLOC and >> HTLB_BUDDY_PGALLOC_FAIL. >> >> Signed-off-by: Jonathan Helman <jonathan.helman at oracle.com> > > Reviewed-by: Jason Wang <jasowang at redhat.com> Thanks. > >> --- >> drivers/virtio/virtio_balloon.c | 6 ++++++ &...
2018 Mar 22
2
[virtio-dev] Re: [PATCH v2] virtio_balloon: export hugetlb page allocation counts
...> > > > > > > > > > > On 2018?03?20? 06:14, Jonathan Helman wrote: > > > > Export the number of successful and failed hugetlb page > > > > allocations via the virtio balloon driver. These 2 counts > > > > come directly from the vm_events HTLB_BUDDY_PGALLOC and > > > > HTLB_BUDDY_PGALLOC_FAIL. > > > > > > > > Signed-off-by: Jonathan Helman <jonathan.helman at oracle.com> > > > Reviewed-by: Jason Wang <jasowang at redhat.com> > > Thanks. > > > > > > -...
2018 Apr 09
2
[virtio-dev] Re: [PATCH v2] virtio_balloon: export hugetlb page allocation counts
...>>>>> >>>>> On 2018?03?20? 06:14, Jonathan Helman wrote: >>>>>> Export the number of successful and failed hugetlb page >>>>>> allocations via the virtio balloon driver. These 2 counts >>>>>> come directly from the vm_events HTLB_BUDDY_PGALLOC and >>>>>> HTLB_BUDDY_PGALLOC_FAIL. >>>>>> >>>>>> Signed-off-by: Jonathan Helman<jonathan.helman at oracle.com> >>>>> Reviewed-by: Jason Wang<jasowang at redhat.com> >>>> Thanks. >&gt...
2018 Apr 12
2
[virtio-dev] Re: [PATCH v2] virtio_balloon: export hugetlb page allocation counts
...t;>>>> On 2018?03?20? 06:14, Jonathan Helman wrote: >>>>>>>> Export the number of successful and failed hugetlb page >>>>>>>> allocations via the virtio balloon driver. These 2 counts >>>>>>>> come directly from the vm_events HTLB_BUDDY_PGALLOC and >>>>>>>> HTLB_BUDDY_PGALLOC_FAIL. >>>>>>>> >>>>>>>> Signed-off-by: Jonathan Helman<jonathan.helman at oracle.com> >>>>>>> Reviewed-by: Jason Wang<jasowang at redhat.com>...
2018 Apr 13
2
[virtio-dev] Re: [PATCH v2] virtio_balloon: export hugetlb page allocation counts
...elman wrote: > > > > > > > > > > Export the number of successful and failed hugetlb page > > > > > > > > > > allocations via the virtio balloon driver. These 2 counts > > > > > > > > > > come directly from the vm_events HTLB_BUDDY_PGALLOC and > > > > > > > > > > HTLB_BUDDY_PGALLOC_FAIL. > > > > > > > > > > > > > > > > > > > > Signed-off-by: Jonathan Helman<jonathan.helman at oracle.com> > > > > > > &...
2018 Apr 13
1
[virtio-dev] Re: [PATCH v2] virtio_balloon: export hugetlb page allocation counts
...t; > > > > > > > > Export the number of successful and failed hugetlb page > > > > > > > > > > > > allocations via the virtio balloon driver. These 2 counts > > > > > > > > > > > > come directly from the vm_events HTLB_BUDDY_PGALLOC and > > > > > > > > > > > > HTLB_BUDDY_PGALLOC_FAIL. > > > > > > > > > > > > > > > > > > > > > > > > Signed-off-by: Jonathan Helman<jonathan.helman at oracle.com> &...
2018 Feb 27
0
[PATCH] virtio_balloon: export huge page allocation statistics
On Fri, Feb 16, 2018 at 09:44:32PM -0800, Jonathan Helman wrote: > Export statistics for successful and failed huge page allocations > from the virtio balloon driver. These 2 stats come directly from > the vm_events HTLB_BUDDY_PGALLOC and HTLB_BUDDY_PGALLOC_FAIL. > Signed-off-by: Jonathan Helman <jonathan.helman at oracle.com> Any host/guest intergace changes need to be copied to the virtio TC mailing list (subscriber-only, sorry about that): virtio-dev at lists.oasis-open.org > --- > driver...
2018 Mar 20
0
[PATCH v2] virtio_balloon: export hugetlb page allocation counts
On 2018?03?20? 06:14, Jonathan Helman wrote: > Export the number of successful and failed hugetlb page > allocations via the virtio balloon driver. These 2 counts > come directly from the vm_events HTLB_BUDDY_PGALLOC and > HTLB_BUDDY_PGALLOC_FAIL. > > Signed-off-by: Jonathan Helman <jonathan.helman at oracle.com> Reviewed-by: Jason Wang <jasowang at redhat.com> > --- > drivers/virtio/virtio_balloon.c | 6 ++++++ > include/uapi/linux/virtio_balloon.h | 4...
2018 Mar 22
0
[virtio-dev] Re: [PATCH v2] virtio_balloon: export hugetlb page allocation counts
...Wang <jasowang at redhat.com> wrote: >> >> >> >> On 2018?03?20? 06:14, Jonathan Helman wrote: >>> Export the number of successful and failed hugetlb page >>> allocations via the virtio balloon driver. These 2 counts >>> come directly from the vm_events HTLB_BUDDY_PGALLOC and >>> HTLB_BUDDY_PGALLOC_FAIL. >>> >>> Signed-off-by: Jonathan Helman <jonathan.helman at oracle.com> >> Reviewed-by: Jason Wang <jasowang at redhat.com> > Thanks. > >>> --- >>> drivers/virtio/virtio_balloo...
2018 Mar 23
0
[virtio-dev] Re: [PATCH v2] virtio_balloon: export hugetlb page allocation counts
...gt; >>>> >>>> >>>> On 2018?03?20? 06:14, Jonathan Helman wrote: >>>>> Export the number of successful and failed hugetlb page >>>>> allocations via the virtio balloon driver. These 2 counts >>>>> come directly from the vm_events HTLB_BUDDY_PGALLOC and >>>>> HTLB_BUDDY_PGALLOC_FAIL. >>>>> >>>>> Signed-off-by: Jonathan Helman<jonathan.helman at oracle.com> >>>> Reviewed-by: Jason Wang<jasowang at redhat.com> >>> Thanks. >>> >>>&g...
2018 Apr 11
0
[virtio-dev] Re: [PATCH v2] virtio_balloon: export hugetlb page allocation counts
...;> >>>>>> On 2018?03?20? 06:14, Jonathan Helman wrote: >>>>>>> Export the number of successful and failed hugetlb page >>>>>>> allocations via the virtio balloon driver. These 2 counts >>>>>>> come directly from the vm_events HTLB_BUDDY_PGALLOC and >>>>>>> HTLB_BUDDY_PGALLOC_FAIL. >>>>>>> >>>>>>> Signed-off-by: Jonathan Helman<jonathan.helman at oracle.com> >>>>>> Reviewed-by: Jason Wang<jasowang at redhat.com> >>>>...
2018 Apr 13
0
[virtio-dev] Re: [PATCH v2] virtio_balloon: export hugetlb page allocation counts
...t;> On 2018?03?20? 06:14, Jonathan Helman wrote: >>>>>>>>> Export the number of successful and failed hugetlb page >>>>>>>>> allocations via the virtio balloon driver. These 2 counts >>>>>>>>> come directly from the vm_events HTLB_BUDDY_PGALLOC and >>>>>>>>> HTLB_BUDDY_PGALLOC_FAIL. >>>>>>>>> >>>>>>>>> Signed-off-by: Jonathan Helman<jonathan.helman at oracle.com> >>>>>>>> Reviewed-by: Jason Wang<jasowang at...
2008 Mar 20
0
[RFC/PATCH 07/15] kvm-s390: interrupt subsystem, cpu timer, waitpsw
...vm, + struct kvm_s390_interrupt *s390int) +{ + struct local_interrupt *li; + struct float_interrupt *fi; + struct interrupt_info *inti; + int sigcpu; + + inti = kzalloc(sizeof(*inti), GFP_KERNEL); + if (!inti) + return -ENOMEM; + + switch (s390int->type) { + case KVM_S390_INT_VIRTIO: + VM_EVENT(kvm, 5, "inject: virtio parm:%x,parm64:%lx", + s390int->parm, s390int->parm64); + inti->type = s390int->type; + inti->ext.ext_params = s390int->parm; + inti->ext.ext_params2 = s390int->parm64; + break; + case KVM_S390_INT_SERVICE: + VM_EVENT(kvm, 5, "i...
2018 Apr 13
0
[virtio-dev] Re: [PATCH v2] virtio_balloon: export hugetlb page allocation counts
...:14, Jonathan Helman wrote: >>>>>>>>>>> Export the number of successful and failed hugetlb page >>>>>>>>>>> allocations via the virtio balloon driver. These 2 counts >>>>>>>>>>> come directly from the vm_events HTLB_BUDDY_PGALLOC and >>>>>>>>>>> HTLB_BUDDY_PGALLOC_FAIL. >>>>>>>>>>> >>>>>>>>>>> Signed-off-by: Jonathan Helman<jonathan.helman at oracle.com> >>>>>>>>>> Review...
2008 Mar 20
1
[RFC/PATCH 05/15] kvm-s390: s390 arch backend for the kvm kernel module
...EL); + if (!kvm->arch.sca) + goto out_nosca; + + sprintf(debug_name, "kvm-%u", current->pid); + + kvm->arch.dbf = debug_register(debug_name, 8, 2, 8 * sizeof(long)); + if (!kvm->arch.dbf) + goto out_nodbf; + + debug_register_view(kvm->arch.dbf, &debug_sprintf_view); + VM_EVENT(kvm, 3, "%s", "vm created"); + + try_module_get(THIS_MODULE); + + return kvm; +out_nodbf: + free_page((unsigned long)(kvm->arch.sca)); +out_nosca: + kfree(kvm); +out_nokvm: + return ERR_PTR(rc); +} + +void kvm_arch_destroy_vm(struct kvm *kvm) +{ + debug_unregister(kvm->arc...
2008 Mar 20
1
[RFC/PATCH 05/15] kvm-s390: s390 arch backend for the kvm kernel module
...EL); + if (!kvm->arch.sca) + goto out_nosca; + + sprintf(debug_name, "kvm-%u", current->pid); + + kvm->arch.dbf = debug_register(debug_name, 8, 2, 8 * sizeof(long)); + if (!kvm->arch.dbf) + goto out_nodbf; + + debug_register_view(kvm->arch.dbf, &debug_sprintf_view); + VM_EVENT(kvm, 3, "%s", "vm created"); + + try_module_get(THIS_MODULE); + + return kvm; +out_nodbf: + free_page((unsigned long)(kvm->arch.sca)); +out_nosca: + kfree(kvm); +out_nokvm: + return ERR_PTR(rc); +} + +void kvm_arch_destroy_vm(struct kvm *kvm) +{ + debug_unregister(kvm->arc...