HomeFreeBSD

Simplify UIO_SYSSPACE and UIO_NOCOPY paths in uiomove

Description

Simplify UIO_SYSSPACE and UIO_NOCOPY paths in uiomove

Uiomove can only block when the segflag is UIO_USERSPACE,
otherwise we end up just doing a bcopy (or nothing) and
moving cursors. So only emit witness warnings and
set deadlock thread flags in the UIO_USERSPACE case.

Reviewed by: kib
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D11489

Details

Provenance
gallatinAuthored on
Reviewer
kib
Differential Revision
D11489: Simplify UIO_SYSSPACE and UIO_NOCOPY paths in uiomove
Parents
rS320737: Fix cleanup in lib/libc/gen/setdomainname_test
Branches
Unknown
Tags
Unknown