summaryrefslogtreecommitdiffstats
path: root/sys/i386/cpufreq
diff options
context:
space:
mode:
authoriedowse <iedowse@FreeBSD.org>2004-08-02 13:59:02 +0000
committeriedowse <iedowse@FreeBSD.org>2004-08-02 13:59:02 +0000
commit6d68eec474cd4f3a1ce83211d9bd75025c3a62a9 (patch)
treea0201b2bc9a882e8894d05bd1c9d296f831c0664 /sys/i386/cpufreq
parent5b775a536b482d5822d14e4db6ddf2cbe5ede2fc (diff)
downloadFreeBSD-src-6d68eec474cd4f3a1ce83211d9bd75025c3a62a9.zip
FreeBSD-src-6d68eec474cd4f3a1ce83211d9bd75025c3a62a9.tar.gz
When searching for a suitable block of memory on the free list,
skip blocks that are too big by a factor of two or greater. This avoids some cases of extremely inefficient memory use that can occur when large (e.g. 64k) blocks on the free list get used when allocating a 4k chunk of 64-byte fragments. Because fragments have their own free list, the 60k difference got lost forever every time.
Diffstat (limited to 'sys/i386/cpufreq')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud