Skip to contentSkip to conversation

Possible stable fix for decompressor speed

DISCUSSION Mark Brown 3 participants 3 messages Jan 28, 2014 – Feb 3, 2014 Stable branch

lore
Share & tools
lore

Mark Brown

author
#0 lore raw

The changes in patch 1431574a1c4c (lib/decompressors: fix "no limit" output buffer length) avoid doing decompression a byte at a time when decompressing into high physical addresses using a small, well isolated change. The patch can give a very noticable improvement in kernel boot times on affected systems, for example with one ARM system this reduces the total time to boot the kernel by more than a third.

Would you consider this patch for stable? It doesn't quite fit within the criteria but you've indicated in the past that such isolated and well supported changs can be acceptable anyway. If it's not OK for stable it seems like it should be a good candidate for LTSI.

#1 lore raw
Quoted 11 lines · Mark Brown

The changes in patch 1431574a1c4c (lib/decompressors: fix "no limit" output buffer length) avoid doing decompression a byte at a time when decompressing into high physical addresses using a small, well isolated change. The patch can give a very noticable improvement in kernel boot times on affected systems, for example with one ARM system this reduces the total time to boot the kernel by more than a third.

Would you consider this patch for stable? It doesn't quite fit within the criteria but you've indicated in the past that such isolated and well supported changs can be acceptable anyway. If it's not OK for stable it seems like it should be a good candidate for LTSI.

It's a one-line change that seems well tested and provides a noticed speedup, so yes, I can take it for the 3.10-stable tree, thanks.

greg k-h

#2 lore raw
In reply to Mark Brown
Quoted 11 lines · Mark Brown

The changes in patch 1431574a1c4c (lib/decompressors: fix "no limit" output buffer length) avoid doing decompression a byte at a time when decompressing into high physical addresses using a small, well isolated change. The patch can give a very noticable improvement in kernel boot times on affected systems, for example with one ARM system this reduces the total time to boot the kernel by more than a third.

Would you consider this patch for stable? It doesn't quite fit within the criteria but you've indicated in the past that such isolated and well supported changs can be acceptable anyway. If it's not OK for stable it seems like it should be a good candidate for LTSI.

Thanks Mark, I'm queuing this for the 3.5 and the 3.11 kernels as well.

Cheers,
--
Luis