lkml.org 
[lkml]   [2019]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/3] Add gup fast + longterm and use it in HFI1
On Mon, 11 Feb 2019, ira.weiny@intel.com wrote:
>Ira Weiny (3):
> mm/gup: Change "write" parameter to flags
> mm/gup: Introduce get_user_pages_fast_longterm()
> IB/HFI1: Use new get_user_pages_fast_longterm()

Out of curiosity, are you planning on having all rdma drivers
use get_user_pages_fast_longterm()? Ie:

hw/mthca/mthca_memfree.c: ret = get_user_pages_fast(uaddr & PAGE_MASK, 1, FOLL_WRITE, pages);
hw/qib/qib_user_sdma.c: ret = get_user_pages_fast(addr, j, 0, pages);

Thanks,
Davidlohr

\
 
 \ /
  Last update: 2019-02-11 21:35    [W:0.104 / U:5.152 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site