search for: vm_reserved

Displaying 17 results from an estimated 17 matches for "vm_reserved".

2011 Mar 07
6
[PATCH] xen/gntdev,gntalloc: Remove unneeded VM flags
...ct vm_area_struct *vma) } static struct vm_operations_struct gntalloc_vmops = { + .open = gntalloc_vma_open, .close = gntalloc_vma_close, }; @@ -471,8 +483,6 @@ static int gntalloc_mmap(struct file *filp, struct vm_area_struct *vma) vma->vm_private_data = gref; vma->vm_flags |= VM_RESERVED; - vma->vm_flags |= VM_DONTCOPY; - vma->vm_flags |= VM_PFNMAP | VM_PFN_AT_MMAP; vma->vm_ops = &gntalloc_vmops; diff --git a/drivers/xen/gntdev.c b/drivers/xen/gntdev.c index 2faf797..69c787a 100644 --- a/drivers/xen/gntdev.c +++ b/drivers/xen/gntdev.c @@ -334,17 +334,26 @@ static...
2006 Apr 22
1
vm_normal_page() in linux-2.6-xen-sparse/mm/memory.c
vm_normal_page() @ linux-2.6-xen-sparse/mm/memory.c ... if (!vma->vm_flags & VM_RESERVED) print_bad_pte(vma, pte, addr); note:VM_RESERVED=0x00080000 This if clause is always false. Should it be "if (!(vma->vm_flags & VM_RESERVED))" ? -- yamahata _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensourc...
2014 Mar 24
1
Bug#742515: blktap-dkms: blktapblktap kernel module failed to build
...kage: blktap-dkms Version: 2.0.93-0.1 Severity: serious Justification: fails to build from source (but built successfully in the past) blktap fails to build on kernel 3.13 and probably older kernels as well. According to this bug: https://bugs.launchpad.net/ubuntu/+source/blktap-dkms/+bug/1245009 VM_RESERVED is deprecated as of 3.7. Building with the patch described in that bug allows for blktap to build properly. Diff for reference: --- ring.c.orig 2013-10-26 23:53:39.300000000 +0900 +++ ring.c 2013-10-26 20:35:26.301000000 +0900 @@ -39,6 +39,10 @@ */ #define RING_PAGES 1 +#ifndef VM_RESERVED...
2014 Oct 05
1
Bug#764132: fails to compile with linux-image-3.16-2-amd64
...91/build/ring.c:306:32: error: ?struct bio? has no member named ?bi_sector? breq->u.tr.sector_number = bio->bi_sector; ^ /var/lib/dkms/blktap/2.0.91/build/ring.c: In function ?blktap_ring_mmap_request?: /var/lib/dkms/blktap/2.0.91/build/ring.c:438:19: error: ?VM_RESERVED? undeclared (first use in this function) vma->vm_flags |= VM_RESERVED; ^ /var/lib/dkms/blktap/2.0.91/build/ring.c:438:19: note: each undeclared identifier is reported only once for each function it appears in /var/lib/dkms/blktap/2.0.91/build/ring.c: In function ?blktap_ring...
2013 Jul 17
0
Bug#717157: blktap-dkms: Fails to build against Linux 3.10
...ev.h:13, from /var/lib/dkms/blktap/2.0.91/build/ring.c:27: /usr/src/linux-headers-3.10-1-common/include/linux/mm.h:1516:22: note: declared here /var/lib/dkms/blktap/2.0.91/build/ring.c: In function ?blktap_ring_mmap_request?: /var/lib/dkms/blktap/2.0.91/build/ring.c:438:19: error: ?VM_RESERVED? undeclared (first use in this function) /var/lib/dkms/blktap/2.0.91/build/ring.c:438:19: note: each undeclared identifier is reported only once for each function it appears in /var/lib/dkms/blktap/2.0.91/build/ring.c: In function ?blktap_ring_mmap_sring?: /var/lib/dkms/blktap/2.0.91/build/ring.c:4...
2010 Dec 08
2
[PATCH] xen: gntdev: move use of GNTMAP_contains_pte next to the map_op
...tk(KERN_CONT ": failure!\n"); - return -EINVAL; + goto out_unlock; } printk(KERN_CONT " %p<-page->%p\n", page->lru.prev, page->lru.next); list_add_tail(&page->lru, &priv->list); } + spin_unlock(&priv->lock); - vma->vm_flags |= VM_RESERVED | VM_DONTCOPY; + vma->vm_flags |= VM_RESERVED | VM_IO | VM_DONTCOPY | VM_PFNMAP; + //vma->vm_flags |= VM_RESERVED | VM_DONTCOPY; vma->vm_ops = &hypercall_vm_ops; vma->vm_private_data = priv; return 0; +out_unlock: + spin_unlock(&priv->lock); + return -EINVAL; } st...
2012 Apr 03
2
[PATCH] xen/gntdev: do not set VM_PFNMAP
...iles changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/xen/gntdev.c b/drivers/xen/gntdev.c index 99d8151..1ffd03b 100644 --- a/drivers/xen/gntdev.c +++ b/drivers/xen/gntdev.c @@ -722,7 +722,7 @@ static int gntdev_mmap(struct file *flip, struct vm_area_struct *vma) vma->vm_flags |= VM_RESERVED|VM_DONTEXPAND; if (use_ptemod) - vma->vm_flags |= VM_DONTCOPY|VM_PFNMAP; + vma->vm_flags |= VM_DONTCOPY; vma->vm_private_data = map; -- 1.7.2.5
2006 Feb 08
3
[PATCH] direct_remap_pfn_range vm_flags fix
...rse/arch/i386/mm/ioremap-xen.c --- a/linux-2.6-xen-sparse/arch/i386/mm/ioremap-xen.c Tue Feb 7 20:46:13 2006 +++ b/linux-2.6-xen-sparse/arch/i386/mm/ioremap-xen.c Tue Feb 7 23:46:21 2006 @@ -120,7 +120,7 @@ domid_t domid) { /* Same as remap_pfn_range(). */ - vma->vm_flags |= VM_IO | VM_RESERVED; + vma->vm_flags |= VM_IO | VM_RESERVED | VM_PFNMAP; return __direct_remap_pfn_range( vma->vm_mm, address, mfn, size, prot, domid); _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2010 Mar 10
34
[Patch RFC] nouveau accelerated on Xen pv-ops kernel
...ttm/ttm_bo_vm.c --- nouveau-kernel.orig/drivers/gpu/drm/ttm/ttm_bo_vm.c 2010-01-27 10:19:28.000000000 +0530 +++ nouveau-kernel.new/drivers/gpu/drm/ttm/ttm_bo_vm.c 2010-03-10 17:28:59.000000000 +0530 @@ -271,7 +271,10 @@ */ vma->vm_private_data = bo; - vma->vm_flags |= VM_RESERVED | VM_IO | VM_MIXEDMAP | VM_DONTEXPAND; + vma->vm_flags |= VM_RESERVED | VM_MIXEDMAP | VM_DONTEXPAND; + if (!((bo->mem.placement & TTM_PL_MASK_MEM) & TTM_PL_FLAG_TT)) + vma->vm_flags |= VM_IO; + vma->vm_page_prot = vma_get_vm_prot(vma->vm_flags)...
2010 Mar 10
34
[Patch RFC] nouveau accelerated on Xen pv-ops kernel
...ttm/ttm_bo_vm.c --- nouveau-kernel.orig/drivers/gpu/drm/ttm/ttm_bo_vm.c 2010-01-27 10:19:28.000000000 +0530 +++ nouveau-kernel.new/drivers/gpu/drm/ttm/ttm_bo_vm.c 2010-03-10 17:28:59.000000000 +0530 @@ -271,7 +271,10 @@ */ vma->vm_private_data = bo; - vma->vm_flags |= VM_RESERVED | VM_IO | VM_MIXEDMAP | VM_DONTEXPAND; + vma->vm_flags |= VM_RESERVED | VM_MIXEDMAP | VM_DONTEXPAND; + if (!((bo->mem.placement & TTM_PL_MASK_MEM) & TTM_PL_FLAG_TT)) + vma->vm_flags |= VM_IO; + vma->vm_page_prot = vma_get_vm_prot(vma->vm_flags)...
2009 Aug 03
13
kernel BUG at arch/x86/xen/multicalls.c:103!
Hi, I have this bug when I activate java-6-jdk on Tomcat 5.5.26 in a Lenny Guest : Jul 31 21:24:15 tomcat01 kernel: 1 multicall(s) failed: cpu 3 Jul 31 21:24:15 tomcat01 kernel: call 1/1: op=14 arg=[b7f1a000] result=-22 Jul 31 21:24:15 tomcat01 kernel: ------------[ cut here ]------------ Jul 31 21:24:15 tomcat01 kernel: kernel BUG at arch/x86/xen/multicalls.c:103! Jul 31 21:24:15 tomcat01
2012 Apr 03
0
[PATCH v2] xen/gntdev: do not set VM_PFNMAP
...iles changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/xen/gntdev.c b/drivers/xen/gntdev.c index 99d8151..1ffd03b 100644 --- a/drivers/xen/gntdev.c +++ b/drivers/xen/gntdev.c @@ -722,7 +722,7 @@ static int gntdev_mmap(struct file *flip, struct vm_area_struct *vma) vma->vm_flags |= VM_RESERVED|VM_DONTEXPAND; if (use_ptemod) - vma->vm_flags |= VM_DONTCOPY|VM_PFNMAP; + vma->vm_flags |= VM_DONTCOPY; vma->vm_private_data = map; -- 1.7.2.5
2005 Apr 25
3
BUG: xend oopses on munmap of /proc/xen/privcmd
...return (*spd)(page); I''m not quite sure in what way to fix this bug, since none of the functions involved seem to have access to the "right" data structures. The most obvious workaround would be for zap_pte_range() to not call set_page_dirty() on pages inside a VM_IO or VM_RESERVED VMA, but I don''t know if the VMA is guaranteed to still exist when zap_pte_range() is called... -- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.&quot...
2013 Oct 25
2
Install blktap2 kernel module on CentOS 6
Hi,  I''m currently stuck with creating VM which cannot boot with disk using blktap2 driver. I''ve been searching nearly a whole week and I couldn''t get a answer. When creating vm with blktap2, it keep shows a error:   libxl: debug: libxl_device.c:200:disk_try_backend: Disk vdev=xvda, backend tap unsuitable because blktap not available.  VM configuration (XML):
2013 Mar 29
28
[Bug 62914] New: ZaphodHeads doesn't work after upgrading to xorg 1.14
https://bugs.freedesktop.org/show_bug.cgi?id=62914 Priority: medium Bug ID: 62914 Assignee: nouveau at lists.freedesktop.org Summary: ZaphodHeads doesn't work after upgrading to xorg 1.14 QA Contact: xorg-team at lists.x.org Severity: critical Classification: Unclassified OS: Linux (All) Reporter:
2009 Jan 10
51
Xen with dom0 pvops on ultra-recent "git tip" kernel on x86_64
Hi everyone, I am very excited to see that dom0 pvops is finally coming close to working, so I wanted to give it a try. >From the description it was not clear to me which kernel to chose as base for the patches.hg, so I took the latest (that was ~ 2 weeks ago) kernel on git.kernel.org I could find (post-2.6.28 git tip at that point). I managed to more or less apply all of the patches in the
2007 Mar 28
2
[PATCH 2/3] User-space grant table device - main driver
A character device for accessing (in user-space) pages that have been granted by other domains. Signed-off-by: Derek Murray <Derek.Murray@cl.cam.ac.uk> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel