mirror of
https://github.com/revyos/thead-kernel.git
synced 2026-09-26 04:37:07 +02:00
32539f0dc7524b818137d2d937db63f051bb600b
This commit introduce crc32 calc data by compressed instead of uncompressed data. This improve speed of hibernation resume data about 10% : Change-Id: I9a90006fd42430c0fe4ba712e48fee325068ec01 ------with this commmit----- PM: hibernation: Read 788072 kbytes in 2.21 seconds (356.59 MB/s) -----berfore this commit---- PM: hibernation: Read 786300 kbytes in 2.45 seconds (320.93 MB/s) Before this the crc32 of data is uncompress origin data,which is huge. The risk of this change is we not checked the origin data, but the compressed data is check ok can equal to uncompressed data ok mostly. For the data become invalid mostly is from disk, for example : human mistook erasing. Signed-off-by: xianbing Zhu <xianbing.zhu@linux.alibaba.com> Change-Id: I7e8d968373667fa4532f527f6a63c37711169711
Please follow buildroot tips to startup T-HEAD C9xx CPU's boards: T-HEAD buildroot
Description
Languages
C
97.8%
Assembly
1.2%
Shell
0.3%
Makefile
0.3%
Python
0.1%
Other
0.1%