On Fri, Feb 22, 2019 at 12:45 PM John Stultz john.stultz@linaro.org wrote:
Ok, I've renamed things back to heaps, and updated the patches here (sorry, I didn't rename the git branch :): kernel: https://git.linaro.org/people/john.stultz/android-dev.git/log/?h=dev/dma-buf... userland: https://android-review.googlesource.com/c/device/linaro/hikey/+/909436
I'll get to integrating your changes in -next, and see about splitting the page pool/deferred freeing logic out to the end here soon.
Ok, I've gone through the -next changes and ported them over.
I've also split out the shrinker/deferred freeing and page-pool logic into separate patches at the end (so we can skip them or include them).
Though, while I have done some initial validation, I'd trust the page-pool verison of the system heap code that is closer to the more widely tested ION version then my paired down version (which roughly implements the original 3.4 era ION system heap).
I've updated my tree here: https://git.linaro.org/people/john.stultz/android-dev.git/log/?h=dev/dma-buf...
I still need to rework/improve the commit logs, and will probably wait to see what Andrew is working on before I resend it, but I wanted to share in case anyone is wanting to check it out.
thanks -john