lkml.org 
[lkml]   [2013]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] anon_vmas: Convert the rwsem to an rwlock_t
On Mon, Sep 30, 2013 at 08:21:12PM +0200, Andi Kleen wrote:
> > Nvidia is now also going to use mmu notifier to allow the GPU (acting
> > as a secondary MMU with pagetables) to access main memory without
>
> That's a good point. iirc AMD GPUs are also going into
> the same direction, and likely more. So we probably need
> to support that usage.
>
> Too bad :-/
>
> -Andi

In all fairness, current AMD solution is hardware only, you can see the
code in drivers/iommu/amd_iommu_v2.c but they might be interested in
the software solution for added features like abilities to move process
memory to video memory and migrating it back when CPU access it.

Others too might be interested (Intel, infiniband, or any driver with
an mmu that can do pagefault and has couple others features).

Cheers,
Jerome


\
 
 \ /
  Last update: 2013-09-30 21:21    [W:0.194 / U:3.428 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site