[lkml]   [2009]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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.



 \ /
  Last update: 2009-04-02 00:23    [W:0.090 / U:9.516 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site