5 Commits

Author SHA1 Message Date
Minchan Kim
aad7cdd52e sm6250-common: Enable zram writeback
This reverts commit 57ffdb4625238708d4a517e771eea74349f12efe.

Bug: 140882488
Change-Id: I590277c95cb9eaf34ac84ef955628ecdbaf0c279
Signed-off-by: Minchan Kim <minchan@google.com>
2020-10-11 13:16:27 +00:00
Jenhao Chen
f1f52fcd90 sm6250-common: increase ZRAM to 2GB
Test: TH
bug: 119988524
Change-Id: I086be89346e8dae32b06188861a6f0c9fe1d768f
2020-10-11 13:16:27 +00:00
Wei Wang
f51fc562c4 sm6250-common: tune zram performance
-Switch to LZ4 for better overall performance
-Set max_comp_streams to num of cores since upstream also moves this to
percpu.
-Set page-cluster to 0 as the incremental cost of reading 1 page at a
time is negligible for zram

Bug: 38249616
Test: boot and run zram-perf showing better performance
Change-Id: I0b92b246d773db85aa03d033b2cecee54347cbd1
2020-10-11 13:16:27 +00:00
Demon000
95ce303f90 sm6250-common: rootdir: add /boot to fstab
Build process errors out without this.

Traceback (most recent call last):
  File "build/make/tools/releasetools/ota_from_target_files", line 2455, in <module>
    main(sys.argv[1:])
  File "build/make/tools/releasetools/ota_from_target_files", line 2429, in main
    output_file=args[1])
  File "build/make/tools/releasetools/ota_from_target_files", line 1103, in WriteFullOTAPackage
    common.CheckSize(boot_img.data, "boot.img", target_info)
  File "/home/aicp-dev/rom/lineage-17.1/build/make/tools/releasetools/common.py", line 1190, in CheckSize
    p = info_dict["fstab"][mount_point]
KeyError: '/boot'

Change-Id: I30a396ea62e6e48420c0dd41533c156e90032929
2020-07-15 23:03:28 +03:00
Demon000
f9271b3d25 sm6250-common: import fstab from stock 2020-07-15 23:03:28 +03:00