In practice this bug had limited impact (and then only by increasing
chunk fragmentation) because run_quantize_ceil() returned correct
results except for inputs that could only arise from aligned allocation
requests that required more than page alignment.

This bug existed in the original run quantization implementation, which
was introduced by 8a03cf039c (Implement
cache index randomization for large allocations.).
This commit is contained in:
Jason Evans 2016-02-22 15:01:37 -08:00
Родитель a9a4684792
Коммит 08551eee58
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -185,7 +185,7 @@ run_quantize_ceil(size_t size)
* search would potentially find sufficiently aligned available
* memory somewhere lower.
*/
qsize = run_quantize_ceil_hard(size);
qsize = run_quantize_ceil_hard(qsize);
}
return (qsize);
}