diff options
author | rwatson <rwatson@FreeBSD.org> | 2006-02-11 18:44:37 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2006-02-11 18:44:37 +0000 |
commit | 35f263ed8094442ba47235c1afef07d7552e2cd3 (patch) | |
tree | b0be671640aff5988772a55a03653d6a640e3d1b /lib/libc/stdlib/malloc.c | |
parent | beaa5fcb4dc63683c0f73e0326cddc7838be2776 (diff) | |
download | FreeBSD-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