Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1519237

Re: [Xen-devel] [PATCH RESEND] xen/gntdev: Grant maps should not be subject to NUMA balancing

From David Vrabel <david.vrabel@citrix.com>
Newsgroups linux.kernel
Subject Re: [Xen-devel] [PATCH RESEND] xen/gntdev: Grant maps should not be subject to NUMA balancing
Date 2016-11-10 18:50 +0100
Message-ID <sC1E7-QH-53@gated-at.bofh.it> (permalink)
References (1 earlier) <sC0oF-as-17@gated-at.bofh.it> <sC0ym-dI-23@gated-at.bofh.it> <sC0I1-h7-5@gated-at.bofh.it> <sC1up-MX-11@gated-at.bofh.it> <sC1E6-QH-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 10/11/16 17:47, Olaf Hering wrote:
> On Thu, Nov 10, Boris Ostrovsky wrote:
> 
>> Are you sure it's this patch that causes the failure?
>>
>> I commented out '| VM_IO' and still unable to boot with this option.
> 
> Yes, this works for me, sles12sp2 dom0+domU, which is linux-4.4 based:
> 
> +++ b/drivers/xen/gntdev.c
> @@ -804,7 +804,7 @@ static int gntdev_mmap(struct file *flip, struct vm_area_struct *vma)
>  
>         vma->vm_ops = &gntdev_vmops;
>  
> -       vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP | VM_IO;
> +       vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP /*| VM_IO*/;
>  
>         if (use_ptemod)
>                 vma->vm_flags |= VM_DONTCOPY;

I think we need a custom policy for this VMA with MPOL_F_MOF cleared.

David

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [Xen-devel] [PATCH RESEND] xen/gntdev: Grant maps should not be  subject to NUMA balancing Olaf Hering <olaf@aepfle.de> - 2016-11-10 17:30 +0100
  Re: [Xen-devel] [PATCH RESEND] xen/gntdev: Grant maps should not be  subject to NUMA balancing Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2016-11-10 17:40 +0100
    Re: [Xen-devel] [PATCH RESEND] xen/gntdev: Grant maps should not be  subject to NUMA balancing Olaf Hering <olaf@aepfle.de> - 2016-11-10 17:50 +0100
      Re: [Xen-devel] [PATCH RESEND] xen/gntdev: Grant maps should not be  subject to NUMA balancing Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2016-11-10 18:40 +0100
        Re: [Xen-devel] [PATCH RESEND] xen/gntdev: Grant maps should not be  subject to NUMA balancing Olaf Hering <olaf@aepfle.de> - 2016-11-10 18:50 +0100
          Re: [Xen-devel] [PATCH RESEND] xen/gntdev: Grant maps should not be  subject to NUMA balancing David Vrabel <david.vrabel@citrix.com> - 2016-11-10 18:50 +0100
            Re: [Xen-devel] [PATCH RESEND] xen/gntdev: Grant maps should not be  subject to NUMA balancing Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2016-11-10 19:10 +0100

csiph-web