summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2006-02-11 18:44:37 +0000
committerrwatson <rwatson@FreeBSD.org>2006-02-11 18:44:37 +0000
commit35f263ed8094442ba47235c1afef07d7552e2cd3 (patch)
treeb0be671640aff5988772a55a03653d6a640e3d1b /lib/libc/stdlib/malloc.c
parentbeaa5fcb4dc63683c0f73e0326cddc7838be2776 (diff)
downloadFreeBSD-src-35f263ed8094442ba47235c1afef07d7552e2cd3.zip
FreeBSD-src-35f263ed8094442ba47235c1afef07d7552e2cd3.tar.gz
Read all_cpus variable out of kmem, and validate CPUs against the all_cpus
cpu mask before looking at the cache entries for the CPU. For systems with sparse CPU id arrays, this skips otherwise uninitialized cache structures. MFC after: 3 days
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud