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)
Wed, Apr 10, 5:57 PM
Unknown Object (File)
Mar 18 2024, 7:35 PM
Unknown Object (File)
Feb 21 2024, 12:08 AM
Unknown Object (File)
Feb 15 2024, 2:14 AM
Unknown Object (File)
Jan 24 2024, 8:21 AM
Unknown Object (File)
Jan 19 2024, 8:39 AM
Unknown Object (File)
Dec 22 2023, 10:41 PM
Unknown Object (File)
Dec 16 2023, 2:47 AM

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

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

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.