lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Tue,  8 Mar 2016 19:29:42 +0800
From:	Ming Lei <ming.lei@...onical.com>
To:	Jens Axboe <axboe@...nel.dk>, linux-kernel@...r.kernel.org
Cc:	linux-block@...r.kernel.org, Christoph Hellwig <hch@...radead.org>,
	Al Viro <viro@...iv.linux.org.uk>,
	Anton Altaparmakov <anton@...era.com>
Subject: block & iov_iter: use bvec iterator to implement iterate_bvec()

Hi Guys,

The 1st two patches move bvec iterator helpers out from bio.h, then
they can be used even if CONFIG_BLOCK is disabled, so not necessary
to use iov iter own approach to do the job.

One motivation is that in the future we may support multipage bvecs,
as interests[1] have been shown in this idea, so looks better to
unify the implementation now.

[1], http://marc.info/?w=2&r=1&s=++[LSF%2FMM+ATTEND]+block%3A+multipage+bvecs&q=t
 

 include/linux/bio.h       | 55 +------------------------------------------
 include/linux/blk_types.h |  4 ++--
 include/linux/bvec_iter.h | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 lib/iov_iter.c            | 31 +++++++++---------------
 4 files changed, 93 insertions(+), 76 deletions(-)


Thanks,
Ming

Powered by blists - more mailing lists