Commit ad25029d authored by Yu Zhao's avatar Yu Zhao Committed by chrome-bot
Browse files

CHROMIUM: mm: fix divide error in smaps_account



For swapped out page, its mapcount is zero. Don't divide pss by it
in this case.

BUG=b:135658425
TEST=Built and booted

Change-Id: I41839b22126d5f4ae9ddb3341ae315f73c3e7b1e
Signed-off-by: default avatarYu Zhao <yuzhao@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1676697


Tested-by: default avatarYu Zhao <yuzhao@chromium.org>
Commit-Ready: Yu Zhao <yuzhao@chromium.org>
Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
Reviewed-by: default avatarYu Zhao <yuzhao@chromium.org>
parent d26cfd39
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment