Re: [PATCH v2 3/7] block: refactor iov_count_pages() from bio_{copy,map}_user_iov()
mm/iov_iter.c already has a iov_iter_npages, although that one doesn't do an alignment check yet. But it might be worth to just the iov_iter_alignment similar to how iov_iter_alignment does it instead of this new function.