Page MenuHomeFreeBSD

domainset: Define additional global policies
ClosedPublic

Authored by markj on Mar 5 2021, 10:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 29, 11:12 PM
Unknown Object (File)
Oct 8 2024, 10:04 AM
Unknown Object (File)
Sep 29 2024, 5:37 AM
Unknown Object (File)
Sep 28 2024, 11:17 AM
Unknown Object (File)
Sep 28 2024, 9:30 AM
Unknown Object (File)
Sep 16 2024, 7:02 AM
Unknown Object (File)
Sep 9 2024, 5:54 PM
Unknown Object (File)
Sep 4 2024, 11:36 AM

Details

Summary

Add global definitions for first-touch and interleave policies. The
former will be used in UMA.

Diff Detail

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

Event Timeline

allanjude added inline comments.
sys/sys/domainset.h
105

Don't we need:

#define DOMAINSET_IL()		 (&domainset_interleave)

as well?

  • Add DOMAINSET_IL()
  • Update domainset.9
gbe added a subscriber: gbe.

LGTM for the man page parts.

mav added inline comments.
sys/kern/kern_cpuset.c
1626

Shouldn't cpuset_zero always match domainset0 without having custom knowledge that DOMAINSET_FT() is the default now?

sys/sys/domainset.h
98

There should also be domainset_interleave declaration.

markj marked 2 inline comments as done.Apr 8 2021, 8:43 PM
markj added inline comments.
sys/kern/kern_cpuset.c
1626

Thanks, yes, it was an oversight.

markj marked an inline comment as done.

Address feedback.

This revision is now accepted and ready to land.Apr 8 2021, 9:10 PM
This revision was automatically updated to reflect the committed changes.