HomeFreeBSD

sysctl: remove target buffer read/write checks prior to calling the handler

Description

sysctl: remove target buffer read/write checks prior to calling the handler

Said checks were inherently racy anyway as jokers could unmap target areas
before the handler got around to accessing them.

This saves time by avoiding locking the address space.

MFC after: 1 week

Details

Provenance
mjgAuthored on
Parents
rS324044: Annotate sysctlmemlock with __exclusive_cache_line.
Branches
Unknown
Tags
Unknown