Page MenuHomeFreeBSD

Remove __restrict qualifiers from syscalls.master.
ClosedPublic

Authored by brooks on Oct 15 2018, 8:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jul 23, 12:16 AM
Unknown Object (File)
Mon, Jul 6, 3:04 PM
Unknown Object (File)
Sat, Jul 4, 11:53 AM
Unknown Object (File)
Sat, Jul 4, 11:23 AM
Unknown Object (File)
Thu, Jul 2, 12:59 AM
Unknown Object (File)
May 9 2026, 10:47 AM
Unknown Object (File)
May 5 2026, 2:05 AM
Unknown Object (File)
May 1 2026, 4:08 PM
Subscribers

Details

Summary

The restruct qualifier is intended to aid code generation in the
compiler, but the only access to storage through these pointers is via
structs using copyin/copyout and the like which can not be written in C
or C++ and thus the compiler gains nothing from the qualifiers.

As such, the qualifiers add no value in current usage.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable