HomeFreeBSD

Avoid holding the process in uread() and uwrite().

Description

Avoid holding the process in uread() and uwrite().

In general, higher-level code will atomically verify that the process
is not exiting and hold the process. In one case, we were using uwrite()
to copy a probed instruction to a per-thread scratch space block, but
copyout() can be used for this purpose instead; this change effectively
reverts r227291.

MFC after: 1 week

Details

Provenance
markjAuthored on
Parents
rS325886: Take r313504 into account when recomputing the string table length.
Branches
Unknown
Tags
Unknown