]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
smp_topo(): correct allocation sizes for trivial topologies
authorKonstantin Belousov <kib@FreeBSD.org>
Tue, 9 May 2023 15:08:22 +0000 (18:08 +0300)
committerKonstantin Belousov <kib@FreeBSD.org>
Tue, 9 May 2023 15:30:07 +0000 (18:30 +0300)
commit361c8f75a61832d9aa3dd4c589a0220f3467466f
treeda2e0c89f830279a91354853cbef385f0abddc33
parentd0f67f97579f7b2febf29264b1874a95056dec06
smp_topo(): correct allocation sizes for trivial topologies

This patch should not modify the correctness, only the clarity.

Requested and reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D39981
sys/kern/subr_smp.c