Page MenuHomeFreeBSD

LinuxKPI: cache.h add SMP_CACHE_BYTES
ClosedPublic

Authored by bz on May 24 2021, 6:10 PM.

Details

Summary

Add a definition for SMP_CACHE_BYTES and while here include sys/param.h
for CACHE_LINE_SIZE as otherwise code might not compile standalone.

Sponsored by: The FreeBSD Foundation
MFC After: 2 weeks
Reviewed by:
Differential Revision:

Diff Detail

Repository
rG FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.