Page MenuHomeFreeBSD

Add kern_cpuset_getaffinity() and kern_cpuset_getaffinity().
ClosedPublic

Authored by trasz on Jan 30 2017, 3:25 PM.
Tags
None
Referenced Files
F137136207: D9383.id24563.diff
Fri, Nov 21, 5:53 AM
F137133482: D9383.id24764.diff
Fri, Nov 21, 5:42 AM
F137132977: D9383.id.diff
Fri, Nov 21, 5:40 AM
F137132578: D9383.diff
Fri, Nov 21, 5:38 AM
F137015866: D9383.id24563.diff
Thu, Nov 20, 11:57 PM
F136981279: D9383.diff
Thu, Nov 20, 9:56 PM
F136978600: D9383.id24764.diff
Thu, Nov 20, 9:45 PM
F136978573: D9383.id.diff
Thu, Nov 20, 9:45 PM
Subscribers

Details

Summary

Add kern_cpuset_getaffinity() and kern_cpuset_getaffinity(),
and use it in compats instead of their sys_*() counterparts.

I'm not quite happy with the addition of <_cpuset.h> to syscallsubr.h,
but I have no idea what would be a better way to do this.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 7086
Build 7265: arc lint + arc unit

Event Timeline

trasz retitled this revision from to Add kern_cpuset_getaffinity() and kern_cpuset_getaffinity()..
trasz updated this object.
trasz edited the test plan for this revision. (Show Details)

Dmitry, could you test it? I have no software that calls it.

kib added a reviewer: jhb.
kib edited edge metadata.
This revision is now accepted and ready to land.Jan 30 2017, 4:56 PM
sys/sys/syscallsubr.h
36

This is fine, the _foo.h headers are intended for nested include cases like this.

jhb edited edge metadata.
dchagin edited edge metadata.
This revision was automatically updated to reflect the committed changes.