summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorVinayak Menon <vinmenon@codeaurora.org>2017-09-19 15:04:09 +0530
committerVinayak Menon <vinmenon@codeaurora.org>2017-09-21 15:13:59 +0530
commitd385ca7d0600671fb29e294c4a622d470cfae478 (patch)
tree2ba3b8e666e4a24322f36bbfad21440b66f908f3 /include/linux
parentd727a95d2e023f5557e893aaf50a75d144f4a71e (diff)
ion: fix the return value of shrinkers
ION page pool and cma shrinkers return the total pooled memory instead of the freed. This can result in an early exit of ION page pool shrinker thus giving back less memory to the system. For cma shrinker this change doesn't have an effect since the callers of shrink_slab currently ignores the return value. Change-Id: I0b3727807d9a5f020623766d27da360d077395f3 Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions