Merge "core: Merge malloc_trim patch"