]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Expand x86 struct pcpus to UMA_PCPU_ALLOC_SIZE AKA PAGE_SIZE.
authorkib <kib@FreeBSD.org>
Fri, 6 Jul 2018 19:50:44 +0000 (19:50 +0000)
committerkib <kib@FreeBSD.org>
Fri, 6 Jul 2018 19:50:44 +0000 (19:50 +0000)
commitd5fe3eb9887f90a2b009a603aa9d69ec1791fae0
tree63b869e2a6b87a9a927f5f29e590f918e0750a7b
parent4bb78ec9b87ecf0c132ea287734eea7d0510be3a
Expand x86 struct pcpus to UMA_PCPU_ALLOC_SIZE AKA PAGE_SIZE.

This restores counters(9) operation.
Revert r336024. Improve assert of pcpu size on x86.

Reviewed by: mmacy
Sponsored by: The FreeBSD Foundation
Differential revision: https://reviews.freebsd.org/D16163
sys/amd64/include/counter.h
sys/amd64/include/pcpu.h
sys/i386/include/pcpu.h
sys/sys/pcpu.h