diff options
author | Vegard Nossum <vegard.nossum@oracle.com> | 2016-10-08 11:18:07 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-10-14 20:00:34 -0400 |
commit | ffecee4f2442bb8cb6b34c3335fef4eb50c22fdd (patch) | |
tree | 53d6e7bcb5ff21f6f72d12d905b5173b35c2987a /arch | |
parent | de34f4da7f62ff59ac6e1ef320b0fcfa3296fce3 (diff) |
iov_iter: kernel-doc import_iovec() and rw_copy_check_uvector()
Both import_iovec() and rw_copy_check_uvector() take an array
(typically small and on-stack) which is used to hold an iovec array copy
from userspace. This is to avoid an expensive memory allocation in the
fast path (i.e. few iovec elements).
The caller may have to check whether these functions actually used
the provided buffer or allocated a new one -- but this differs between
the too. Let's just add a kernel doc to clarify what the semantics are
for each function.
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions