diff options
author | iedowse <iedowse@FreeBSD.org> | 2004-08-02 13:59:02 +0000 |
---|---|---|
committer | iedowse <iedowse@FreeBSD.org> | 2004-08-02 13:59:02 +0000 |
commit | 6d68eec474cd4f3a1ce83211d9bd75025c3a62a9 (patch) | |
tree | a0201b2bc9a882e8894d05bd1c9d296f831c0664 /sys/i386/cpufreq | |
parent | 5b775a536b482d5822d14e4db6ddf2cbe5ede2fc (diff) | |
download | FreeBSD-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