lkml.org 
[lkml]   [2009]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 10/17] bio: use bio_create_from_sgl() in bio_map_user_iov()
Boaz Harrosh wrote:
>> ret = get_user_pages_fast(uaddr, local_nr_pages, rw == READ,
>> - &pages[cur_page]);
>> + &pages[nents]);
>
> Fast look at all users of get_user_pages_fast().
>
> This can be converted to take an sglist instead of pages* array.
> Outside of this code all users either have a fixed-size allocated array
> or hard coded one page. This here is the main user. (Out of 5)

Yeah, that would be nice, although it's understandable that gup taking
page array as parameter.

Thanks.

--
tejun


\
 
 \ /
  Last update: 2009-04-02 00:23    [from the cache]
©2003-2011 Jasper Spaans