-
由 Aaro Koskinen 提交于
If the minalign is 64 bytes, then the 96 byte cache should not be created because it would conflict with the 128 byte cache. If the minalign is 256 bytes, patching the size_index table should not result in a buffer overrun. The calculation "(i - 1) / 8" used to access size_index[] is moved to a separate function as suggested by Christoph Lameter. Acked-by: NChristoph Lameter <cl@linux-foundation.org> Signed-off-by: NAaro Koskinen <aaro.koskinen@nokia.com> Signed-off-by: NPekka Enberg <penberg@cs.helsinki.fi>
acdfcd04