Home
last modified time | relevance | path

Searched hist:"8 cd54c1c" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/linux/
H A Duio.h8cd54c1c Thu Apr 22 13:50:39 CDT 2021 Al Viro <viro@zeniv.linux.org.uk> iov_iter: separate direction from flavour

Instead of having them mixed in iter->type, use separate ->iter_type
and ->data_source (u8 and bool resp.) And don't bother with (pseudo-)
bitmap for the former - microoptimizations from being able to check
if the flavour is one of two values are not worth the confusion for
optimizer. It can't prove that we never get e.g. ITER_IOVEC | ITER_PIPE,
so we end up with extra headache.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
/openbmc/linux/lib/
H A Diov_iter.c8cd54c1c Thu Apr 22 13:50:39 CDT 2021 Al Viro <viro@zeniv.linux.org.uk> iov_iter: separate direction from flavour

Instead of having them mixed in iter->type, use separate ->iter_type
and ->data_source (u8 and bool resp.) And don't bother with (pseudo-)
bitmap for the former - microoptimizations from being able to check
if the flavour is one of two values are not worth the confusion for
optimizer. It can't prove that we never get e.g. ITER_IOVEC | ITER_PIPE,
so we end up with extra headache.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>