[Nexus 6P Android Development] nathanchance:
Update for M and N

[MENTION=5426778]Prattham[/MENTION] oops :silly:

Highlights:

Merged in UKSM (Ultra Kernel Same-page Merging, which you can read about here and here). This has had no drawbacks from my testing, it is stable and performs well, as we already have KSM enabled. If you don't want to use it, type this into a terminal emulator (or use EXKM's User Settings to apply it on boot):

echo 0 > /sys/kernel/mm/uksm/run

Enabled LZ4 compression on some modules and took the kernel back to GZIP. This should increase boot times ever so slightly as the decompression should be a bit quicker.

Added the Maple I/O scheduler from [MENTION=5051294]frap129[/MENTION] (who also did the Chill governor). This is based on zen with some additions from sio.

Small optimization patches from CAF

This will probably be one of the last major updates in a while as I am going back to school and will find myself short on time. I'll be adding security updates and Linux upstream as soon as they are available and the soon coming of N will make my job easier as I will only have to compile one build. I'll be watching to see what patches come about but I will be slowing down. Please see the next post for some info regarding settings.

Downloads:

1.4 for M and 2.4 for N

Changelog for M

Short list:

Version 1.4

Added UKSM

Added Maple I/O scheduler

Add LZ4 compression for some modules and change to GZIP on the zImage

Add CAF optimization patches and fixes

Slim down AnyKernel zip

Latest Linaro 6.1 source

Long list:

a9ecdf1 NINJA: v1.4

7ea4999 AnyKernel: remove thermal-engine.conf and modules references

17a2c43 Makefile: add some flags

cd77768 Makefile: disable -Wdeclaration-after-statement

b0ceb55 defconfig: enable Maple I/O scheduler

262d4f6 block: maple: Serve asynchronous requests before synchronous ones

676709f block: maple: Fix some logic, import former/latter request logic from SIO, and use some improved bits of SIO

97884ca block: maple: Catch writes_starved sooner, increase limit.

5eebfa0 block: maple: Clean up and add patchlevel macro to keep track of commits

6d2e529 block: maple: Remove CONFIG_HZ dependency, assume 300 for interrupt frequency

f932ce9 block: Add Maple I/O Scheduler

904e937 locking: Remove atomicy checks from {READ,WRITE}_ONCE

f334fe8 msm: kgsl: Avoid racing against context delete while releasing contexts

7e024b6 slimbus: Reset data channels for a controller when framer reboots

fe1ecef sched/fair: Fix fairness issue on migration

4dc485a arm/arm64: dma-mapping: flush the tlb on unremap

1dfb18a qseecom: don't release ion share memory if scm_call unload TA failed

c1277b8 qseecom: release ION memory if qseecom failed to unload app

6bc234f qcom: ssr: Fix possible overflow when copying firmware name

9411670 lpm_levels: Avoid race by preventing hotplug during lpm probe

fc3d490 tcp: make challenge acks less predictable

427a83b defconfig: enable LZ4 on crypto and change to GZIP on boot image

efb758d lib/lz4: Pull out constant tables

51e6013 lib: lz4: Set ARM_EFFICIENT_UNALIGNED_ACCESS

1abf797 lz4: add overrun checks to lz4_uncompress_unknownoutputsize()

91e8ea2 crypto: add lz4 Cryptographic API

2ffc6aa Makefile: disable -Wint-conversion

4e5e35a UKSM: change to compound_head

986b5a2 UKSM: remove U64_MAX definition

7f544b2 Makefile: disable -W-discarded-qualifiers

015c338 defconfig: enable UKSM

7eb499f UKSM: initial support

d6349f0 AnyKernel: remove zipexclude and modules directory

e2ddea0 AnyKernel: remove AK changelog script and exclude README from zip

07c7cdd AK2: explicitly only take the first match in functions using line matching

f282a77 defconfig: alphabetize I/O schedulers

677297d Alphabetize CPU governors

28068e7 Alphabetize I/O schedulers

Changelog for N

Short list:

Version 2.4

Added UKSM

Added Maple I/O scheduler

Add LZ4 compression for some modules and change to GZIP on the zImage

Add CAF optimization patches and fixes

Slim down AnyKernel zip

Latest Linaro 6.1 source

Long list:

f0a21ef NINJA: v2.4

d0cf6ca AnyKernel: remove thermal-engine.conf and modules references

67169a7 Makefile: add some flags

b1adae6 Makefile: disable -Wdeclaration-after-statement

b803eeb defconfig: enable Maple I/O scheduler

6aa0dcf block: maple: Serve asynchronous requests before synchronous ones

3c073de block: maple: Fix some logic, import former/latter request logic from SIO, and use some improved bits of SIO

022d6f9 block: maple: Catch writes_starved sooner, increase limit.

2223f1d block: maple: Clean up and add patchlevel macro to keep track of commits

1a0fcff block: maple: Remove CONFIG_HZ dependency, assume 300 for interrupt frequency

10745c8 block: Add Maple I/O Scheduler

1b9d414 locking: Remove atomicy checks from {READ,WRITE}_ONCE

3966f4b msm: kgsl: Avoid racing against context delete while releasing contexts

09ecc3b slimbus: Reset data channels for a controller when framer reboots

df328ec sched/fair: Fix fairness issue on migration

9c8b8dc arm/arm64: dma-mapping: flush the tlb on unremap

c3b4ef1 qseecom: don't release ion share memory if scm_call unload TA failed

e813b12 qseecom: release ION memory if qseecom failed to unload app

48320ea qcom: ssr: Fix possible overflow when copying firmware name

100ab8c lpm_levels: Avoid race by preventing hotplug during lpm probe

8be977b tcp: make challenge acks less predictable

2d4a358 defconfig: enable LZ4 on crypto and change to GZIP on boot image

074f89f lib/lz4: Pull out constant tables

fbfd142 lib: lz4: Set ARM_EFFICIENT_UNALIGNED_ACCESS

af0c6f2 lz4: add overrun checks to lz4_uncompress_unknownoutputsize()

7020937 crypto: add lz4 Cryptographic API

feb19ec Makefile: disable -Wint-conversion

b845a26 UKSM: change to compound_head

2c50f69 UKSM: remove U64_MAX definition

451c1df Makefile: disable -W-discarded-qualifiers

279ad4d defconfig: enable UKSM

94578f1 UKSM: initial support

c2dac38 AnyKernel: remove zipexclude and modules directory

5c4017a AnyKernel: remove AK changelog script and exclude README from zip

5c83dc0 AK2: explicitly only take the first match in functions using line matching

70ee3bb defconfig: alphabetize I/O schedulers

d6cdc08 Alphabetize CPU governors

e93d731 Alphabetize I/O schedulers

c7d972e Rename Ninja script and add some more features

2fccc24 Add AnyKernel folder