Page MenuHomeFreeBSD

Remove __restrict qualifiers from syscalls.master.
ClosedPublic

Authored by brooks on Oct 15 2018, 8:28 PM.
Tags
None
Referenced Files
F82802922: D17574.id49470.diff
Thu, May 2, 6:03 PM
F82802919: D17574.id49192.diff
Thu, May 2, 6:03 PM
F82802902: D17574.id.diff
Thu, May 2, 6:03 PM
F82780415: D17574.diff
Thu, May 2, 1:26 PM
Unknown Object (File)
Dec 22 2023, 10:31 PM
Unknown Object (File)
Sep 11 2023, 4:52 AM
Unknown Object (File)
Sep 1 2023, 4:54 PM
Unknown Object (File)
Sep 1 2023, 4:53 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