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

I added some optimization patches as well as decreased swappiness from the stock value of 60 to 15. This means that the CPU will not spend as much time swapping pages to virtual memory unless it is under significant load. Additionally, I went back to the Linaro 6.2 toolchain as I have noticed to regression from 4.9.

Download: v3.3 for N and v1.7 for M

Changelog for N:

Short list:

Decrease swappiness to 15

Add several optimization patches

Add backported random driver (thanks to [MENTION=5051294]frap129[/MENTION] for this)

Switch back to Linaro 6.2 toolchain

Long list:

Title: NINJA: v3.3

Author: Nathan Chancellor

Hash: 8febd9f0c7fedfedfac6afddc3a3b74e91024479

Title: mm: decrease swappiness to 15

Author: Nathan Chancellor

Hash: 7d1c6654c0dfd9a57e54f5f4d8a5ccd9e20bc9a8

Title: Topology: Enhance For MultiCore Decision Making

Author: XileForce

Hash: 141aec5f6ed6eaf8f9b371c88c8d71500aeb3a77

Title: Enable arch power

Author: Kiran Anto

Hash: b3d370ba887779d7b27c2a5f9d4f3aaf12b2cee6

Title: Slimbus Overclock

Author: friedrich420

Hash: ec087e5ec6f922e643e9697bda267850115595fd

Title: workqueue: Remove config guard for power_efficient

Author: Joe Maples

Hash: 887e4342f5f161c5c5aad3dc9e7771599d1a4808

Title: AnyKernel: add frandom compatibility

Author: Joe Maples

Hash: 98c6aebac916c811aafe44c098ae652a110b41c3

Title: random32: add prandom_u32_max and convert open coded users

Author: Daniel Borkmann

Hash: 1e987a0783a053c45de54cfec7f2b0bf22d379bc

Title: random: sprinkle e/f/prandom in places that deplete entropy often

Author: imoseyon

Hash: 4f557141c9ad5c1dd183e52f082e8e659180846f

Title: random.h: declare erandom function

Author: imoseyon

Hash: b927ff2f2cd930abfa24803290f20bc451d58e09

Title: random32: use e/frandom for reseeding, and a merge fixup

Author: imoseyon

Hash: 8d58e28fbf44db21dd6570d67aa89e8e0c21dcef

Title: random: Add get_random_long fucntion

Author: Joe Maples

Hash: 14cb7bfdf57438161247fd8462edf30ed5a0ee5c

Title: random: Backport driver from 4.1.31

Author: Joe Maples

Hash: 64b3831333e42ffe219dc5a574857277ed83f2b4

Title: mm/slub: don't wait for high-order page allocation

Author: Joonsoo Kim

Hash: 29318640599d19d7b23537c2efb7e5cdf7837d7e

Title: mm: page-writeback: fix page state calculation in throttle_vm_writeout

Author: Vinayak Menon

Hash: 591a91398cf396d09f9de6c1ac643f60dac1b150

Title: mm: compaction: fix the page state calculation in too_many_isolated

Author: Vinayak Menon

Hash: 3fdad5e8dfe4cb793e72b2d33612852af61232bd

Title: mm, vmalloc: remove useless variable in vmap_block

Author: Joonsoo Kim

Hash: daa4e2581881b92cad24c7ced7bcaa39921c4470

Title: mm, vmalloc: use well-defined find_last_bit() func

Author: Joonsoo Kim

Hash: c8112ef19dad24099d9a26a0a27acda84e78d7cc

Title: mm: get rid of 'vmalloc_info' from /proc/meminfo

Author: Linus Torvalds

Hash: 813e8c89aff0e71107713a01753c194792054b06

Title: readahead: make context readahead more conservative

Author: Fengguang Wu

Hash: 99e71bb7a50264397d7369ff0dfab62bbe156f4a

Title: pstore: drop pmsg bounce buffer

Author: Mark Salyzyn

Hash: 938245c0e612d6435f289bafaad49b40fa693f18

Title: UPSTREAM: ipv6: tcp: add rcu locking in tcp_v6_send_synack()

Author: Eric Dumazet

Hash: 07ec46f1e558d822d28af28463ec0a2ecba0b722

Title: crypto: msm: qcrypto: Fix hash crash if not last issue

Author: Sivanesan Rajapupathi

Hash: 739d21adbe643503839e4f4ef7c53187094667fd

Title: crypto: msm: qcrypto: Provide fallback for aead aes192

Author: Kranthikumar Kurapati

Hash: c0ef6b15ee7e6f669dae47b8df9a1f63f9f6b8fc

Title: trace: net: use %pK for kernel pointers

Author: mukesh agrawal

Hash: 971ddaf076563519cb133009f4e714ba306cd561

Title: spi-contexthub: fix double free vulnerability

Author: Trevor Bunker

Hash: ada20f08adbf7acd0c968cc11853028083b38749

Title: qseecom: Validate the incoming length from user space

Author: Hariprasad Dhalinarasimha

Hash: d6217edb8123f60c6b7ac00b3ad520b1d696b116

Title: ALSA: hrtimer: Handle start/stop more properly

Author: Takashi Iwai

Hash: d79301b9114ab532da8fd6725f09c62b3716fb97

Title: mmc: Adding ftrace event logging to the mmc layer, extended

Author: Bjorn Mansson

Hash: 8e6cbe2043703ac3d0fa04444781cf18c25a109c

Title: net: fix IP early demux races

Author: Eric Dumazet

Hash: f438a1407b47ea4f04a543ef92dc7d88fadbdb87

Title: spi: contexthub: fixed warning: 'now_us' may be used uninitialized in this function

Author: Francisco Franco

Hash: 8c5e96034fb4cb8b4b2e52d3ea9bef4547ac50b1

Title: net: add length argument to skb_copy_and_csum_datagram_iovec

Author: Sabrina Dubroca

Hash: 0bc3ac3e00dbb2e22b534a99a62367604337c542

Title: msm: cpp: Limit the rate of pop buffer messages

Author: Krishnankutty Kolathappilly

Hash: 0e177ee0bf4c0aa264960d25d511665d344b57f4

Title: msm: Use interruptible wait to not affect load average

Author: franciscofranco

Hash: 3db72e95944cf8af46e43381c2d8cb3c7c52b607

Title: qseecom: handle HW FDE key operations asynchronously

Author: Dinesh K Garg

Hash: 8c77aaa1ee43000484f5d149e803c31351cf1d95

Title: qseecom: add mutex protection for unloading app in qseecom_release

Author: Zhen Kong

Hash: c2dd321e7d0d4c5b8c4dae504837a79ac577437f

Title: msm: kgsl: Cast perfcounter query count to an unsigned int

Author: Sunil Khatri

Hash: 7016adde8ad5c8de8924abb1d6e545ad7fcd52a8

Title: slim: msm: Set Device state to sleep in case of a suspend-timeout

Author: Sagar Dharia

Hash: 9c1acd9a6a60a8a37af2bcfa64d3dfceb12c46c3

Title: qos: Disable irq notifier when qos request is removed

Author: Srinivas Rao L

Hash: b7228b475323f402928fd3e85e96be8bc6fa7473

Title: Revert "netfilter: have ip*t REJECT set the sock err when an icmp is to be sent"

Author: Erik Kline

Hash: e651f3cf34024b29c5f215ead3bdeea913f662e5

Title: UPSTREAM: af_unix: Guard against other == sk in unix_dgram_sendmsg

Author: Rainer Weikusat

Hash: cfdf23db61442a6e587b0b143cf2e74405ebe03a

Title: msm: perf: Protect buffer overflow due to malicious user

Author: Swetha Chikkaboraiah

Hash: c04054ec6e4bbf7d343b15eb4139bb557e6e41dc

Title: net: tcp: split ack slow/fast events from cwnd_event

Author: Florian Westphal

Hash: 21b492b599dc0c73d1e398032cca99a61a010a69

Title: tcp: remove unused min_cwnd member of tcp_congestion_ops

Author: Stanislav Fomichev

Hash: a3b4fb797e15ed0b299682c724e4271051badcdb

Title: lib: qmi_encdec: Fix initialization error in string encode/decode

Author: Atish Kumar Patra

Hash: a4cd29079f19b26d4a217666cf22e3db82745af9

Title: arm64: Fix shift warning in arch/arm64/mm/dump.c

Author: Catalin Marinas

Hash: f70115930af2e70656733a59ddb9ec65f4580fdc

Title: ARM: dts: msm: Enable POPP for MSM8994

Author: Francisco Franco

Hash: 7afcd6018889d64615ddfd10168e819998ac225b

Title: msm: kgsl: Notify the powerscale governor at state changes

Author: Lynus Vaz

Hash: deee7b1017010915ab76b0e3ef7c0b24233ae1a7

Title: msm: kgsl: POPP reset timestamp

Author: Lucille Sylvester

Hash: 1406c3f34fa9a67ea60f1750507e4eccb4594b5b

Title: msm: kgsl: Update GPU bus vote if AB or IB value is changed

Author: Mihir Patel

Hash: b51bc2e049ce3ee04bf4f2d34014e6eecad5a84a

Title: msm: kgsl: Enable GPU POPP feature based on target

Author: Sunil Khatri

Hash: c23f0f48f1efb5086e36873bba18eb3590b36179

Title: arm/dts: add bus-width to GPU dts

Author: Francisco Franco

Hash: f8ea6335864a01046225122a452b0878f55688cc

Title: net: rmnet_data: consolidate VND free work-queue task on force unassociate

Author: Harout Hedeshian

Hash: bab1f8d9d3a52b8223fcdd0509f8b9ff21959e75

Title: net: rest NAPI bit if IPI failed

Author: Ravinder Konka

Hash: 54c6499a8351b07cf29784efd6783cef67703fdc

Changelog for M:

Short list:

Decrease swappiness to 15

Add several optimization patches

Add backported random driver (thanks to [MENTION=5051294]frap129[/MENTION] for this)

Switch back to Linaro 6.2 toolchain

Long list:

Title: NINJA: v1.7

Author: Nathan Chancellor

Hash: d49ed9df12cb4164da60e13bf19a1d4fdf14940f

Title: mm: decrease swappiness to 15

Author: Nathan Chancellor

Hash: e62c5c5a6200c1c11d2c3c57015667e740aa437a

Title: Topology: Enhance For MultiCore Decision Making

Author: XileForce

Hash: 8419c0c11c8c61a81b5be127fab38b11e5884c62

Title: Enable arch power

Author: Kiran Anto

Hash: 92fc2a0006616649686f43db215f70397bf9e3cb

Title: Slimbus Overclock

Author: friedrich420

Hash: 89cc87a8bb4cfc8780125912e93749abb513793b

Title: workqueue: Remove config guard for power_efficient

Author: Joe Maples

Hash: ecb9c9f33d8ed848c7bad3554efee6f374396a57

Title: AnyKernel: add frandom compatibility

Author: Joe Maples

Hash: 8c092973d7e378f59548a3b8d5cd96a03ccd6c84

Title: random32: add prandom_u32_max and convert open coded users

Author: Daniel Borkmann

Hash: fdad043474e915ccb4e8fecc850aa95abc5fc7fc

Title: random: sprinkle e/f/prandom in places that deplete entropy often

Author: imoseyon

Hash: 8201021d6fd2318fa05d430596d10e813d8e4421

Title: random.h: declare erandom function

Author: imoseyon

Hash: 3660cb7140d17b314c58bc6bdf2a5879ddc7040d

Title: random32: use e/frandom for reseeding, and a merge fixup

Author: imoseyon

Hash: fe50cf6d63b45704e3cd6e693e8152e73601d50e

Title: random: Add get_random_long fucntion

Author: Joe Maples

Hash: 7f973305b8a81bf81f3c88c06a12860e21bc8784

Title: random: Backport driver from 4.1.31

Author: Joe Maples

Hash: f81eb474a0505da1cac07d4749989e8648e09c50

Title: mm/slub: don't wait for high-order page allocation

Author: Joonsoo Kim

Hash: b9e9b605af5c7555ea42ebe6d8c60cd1389ae7c6

Title: mm: page-writeback: fix page state calculation in throttle_vm_writeout

Author: Vinayak Menon

Hash: 4b381136547b1f19afbe4f1460f4d7dff9673d4c

Title: mm: compaction: fix the page state calculation in too_many_isolated

Author: Vinayak Menon

Hash: dc271e394c801653b9a2c0d7d902ef23d77ec3fd

Title: mm, vmalloc: remove useless variable in vmap_block

Author: Joonsoo Kim

Hash: e18e0ea571912548ba55faec9b0c6bce881fa61e

Title: mm, vmalloc: use well-defined find_last_bit() func

Author: Joonsoo Kim

Hash: db86fb7d7c2ca7b27ac826b0cb6d52bb9cac24ba

Title: mm: get rid of 'vmalloc_info' from /proc/meminfo

Author: Linus Torvalds

Hash: fea7f9af1b2ae9e5d98ff140753c0f10589916c8

Title: readahead: make context readahead more conservative

Author: Fengguang Wu

Hash: 0edeaba1814a6caf04c75149538a695889472c01

Title: pstore: drop pmsg bounce buffer

Author: Mark Salyzyn

Hash: 687978e48dc6818dbfd2ce9b1e670ad614f9cda0

Title: UPSTREAM: ipv6: tcp: add rcu locking in tcp_v6_send_synack()

Author: Eric Dumazet

Hash: 6682a29d02fd7958a9b8246cab79bde19dac68b3

Title: crypto: msm: qcrypto: Fix hash crash if not last issue

Author: Sivanesan Rajapupathi

Hash: 2b22e26cfad14d28b0c02237c6c503a5b6b941fe

Title: crypto: msm: qcrypto: Provide fallback for aead aes192

Author: Kranthikumar Kurapati

Hash: 05e4d9e6da34c9c9fafc261770bd64b33214ef9e

Title: trace: net: use %pK for kernel pointers

Author: mukesh agrawal

Hash: 0ab11c520f09dbf2e8fe481bf9386cce9e2177ce

Title: qseecom: Validate the incoming length from user space

Author: Hariprasad Dhalinarasimha

Hash: fd50c6e0c44d3f970ad22a87f7b1fa55a250b75f

Title: ALSA: hrtimer: Handle start/stop more properly

Author: Takashi Iwai

Hash: 7544fb48e4c73ffbabd6096dcc5bb827ee6fe426

Title: mmc: Adding ftrace event logging to the mmc layer, extended

Author: Bjorn Mansson

Hash: 55e64f2d973a32014e1e0149b653013aed6dd7c1

Title: net: fix IP early demux races

Author: Eric Dumazet

Hash: 71fed362e38d94372e996544af6ea58a774151c8

Title: spi: contexthub: fixed warning: 'now_us' may be used uninitialized in this function

Author: Francisco Franco

Hash: 979db380c4545b10e336b170c03d75d9eba9198f

Title: net: add length argument to skb_copy_and_csum_datagram_iovec

Author: Sabrina Dubroca

Hash: e68254ccad6e201dd0bdacfa0c991c34b351dbe8

Title: msm: cpp: Limit the rate of pop buffer messages

Author: Krishnankutty Kolathappilly

Hash: a6ad579a340c730e860497fbaa0299715be60af5

Title: msm: Use interruptible wait to not affect load average

Author: franciscofranco

Hash: 804c7946d88eb57cbc7dfbd142d763b36c816c20

Title: qseecom: handle HW FDE key operations asynchronously

Author: Dinesh K Garg

Hash: ddb8d1126a2f5f0db69561b6b38783b1ec513bb9

Title: qseecom: add mutex protection for unloading app in qseecom_release

Author: Zhen Kong

Hash: 888c63469608d1029f81e57b2c4dc3afed287faf

Title: msm: kgsl: Cast perfcounter query count to an unsigned int

Author: Sunil Khatri

Hash: b97acb36ae139dab032435bea012521b22ea494b

Title: slim: msm: Set Device state to sleep in case of a suspend-timeout

Author: Sagar Dharia

Hash: ca057c8e1e5dee80fd788778307908639b15296d

Title: qos: Disable irq notifier when qos request is removed

Author: Srinivas Rao L

Hash: 4f5d4c3617cd512477b6c88af47750ecf6d809da

Title: Revert "netfilter: have ip*t REJECT set the sock err when an icmp is to be sent"

Author: Erik Kline

Hash: b7442823f4521f9551965362ae7f5b7b3ff10eef

Title: UPSTREAM: af_unix: Guard against other == sk in unix_dgram_sendmsg

Author: Rainer Weikusat

Hash: 843d7d6d70961d4d2f254172197aac485428af6d

Title: msm: perf: Protect buffer overflow due to malicious user

Author: Swetha Chikkaboraiah

Hash: c4493cc652d72505c390747cdf6cdb1a087bf8a8

Title: net: tcp: split ack slow/fast events from cwnd_event

Author: Florian Westphal

Hash: 07e3f165056120b039340d68fc113a8908fbeac0

Title: tcp: remove unused min_cwnd member of tcp_congestion_ops

Author: Stanislav Fomichev

Hash: c7b8f7d0cce72348da1ac09f0eff245e5064624c

Title: lib: qmi_encdec: Fix initialization error in string encode/decode

Author: Atish Kumar Patra

Hash: dee5ceb1a61312a9a50a10f3a5700113b1829256

Title: arm64: Fix shift warning in arch/arm64/mm/dump.c

Author: Catalin Marinas

Hash: 149a5a96facdef8842e315aab4d593fd2822b565

Title: ARM: dts: msm: Enable POPP for MSM8994

Author: Francisco Franco

Hash: 1d62573ce44b057f594f1dae1e4ff0f5ba94ab65

Title: msm: kgsl: Notify the powerscale governor at state changes

Author: Lynus Vaz

Hash: 0a0eb6fe4db7d6f96ced46cbcbd757f92fe243a3

Title: msm: kgsl: POPP reset timestamp

Author: Lucille Sylvester

Hash: d4b803189a1e019bbb00d711ae5628a7ee69d0ff

Title: msm: kgsl: Update GPU bus vote if AB or IB value is changed

Author: Mihir Patel

Hash: 76dccc6ffa14d31a9524ab820e2a306e27a9d8c1

Title: msm: kgsl: Enable GPU POPP feature based on target

Author: Sunil Khatri

Hash: 6157e5a51d74eef3cc4b3157325f156614d8e538

Title: arm/dts: add bus-width to GPU dts

Author: Francisco Franco

Hash: fbab91f58dc50850ca686263ab953aad09688c8d

Title: net: rmnet_data: consolidate VND free work-queue task on force unassociate

Author: Harout Hedeshian

Hash: f197d7b717495b52b565acb80e00dcd32b3c3a28

Title: net: rest NAPI bit if IPI failed

Author: Ravinder Konka

Hash: 3001030314ed4a8de66a543b7542880f794cfe6e