Re: [RFC][PATCH 07/13] iov_iter.c: get rid of bvec_copy_page_{to,from}_iter()

2014-12-05 Thread Sergei Shtylyov
Hello. On 12/4/2014 11:23 PM, Al Viro wrote: Looks like you've erred in the subject as you seem to be getting rid of copy_page_{to|from}_iter_bvec() instead of bvec_copy_page_{to|from}_iter()... From: Al Viro Just have copy_page_{to,from}_iter() fall back to kmap_atomic +

Re: [RFC][PATCH 07/13] iov_iter.c: get rid of bvec_copy_page_{to,from}_iter()

2014-12-05 Thread Sergei Shtylyov
Hello. On 12/4/2014 11:23 PM, Al Viro wrote: Looks like you've erred in the subject as you seem to be getting rid of copy_page_{to|from}_iter_bvec() instead of bvec_copy_page_{to|from}_iter()... From: Al Viro v...@zeniv.linux.org.uk Just have copy_page_{to,from}_iter() fall back to

[RFC][PATCH 07/13] iov_iter.c: get rid of bvec_copy_page_{to,from}_iter()

2014-12-04 Thread Al Viro
From: Al Viro Just have copy_page_{to,from}_iter() fall back to kmap_atomic + copy_{to,from}_iter() + kunmap_atomic() in ITER_BVEC case. As the matter of fact, that's what we want to do for any iov_iter kind that isn't blocking - e.g. ITER_KVEC will also go that way once we recognize it on

[RFC][PATCH 07/13] iov_iter.c: get rid of bvec_copy_page_{to,from}_iter()

2014-12-04 Thread Al Viro
From: Al Viro v...@zeniv.linux.org.uk Just have copy_page_{to,from}_iter() fall back to kmap_atomic + copy_{to,from}_iter() + kunmap_atomic() in ITER_BVEC case. As the matter of fact, that's what we want to do for any iov_iter kind that isn't blocking - e.g. ITER_KVEC will also go that way once