Commit 33b9d988 authored by Robin Hsu's avatar Robin Hsu Committed by liangjlee
Browse files

ANDROID: mm: vh for compaction begin/end



Add vendor hook for compaction begin/end.  The first use would be
to measure compaction durations.

Bug: 229927848
Test: echo 1 > /proc/sys/vm/compact_memory and observe output change in
/sys/kernel/pixel_stat/mm/compaction/mm_compaction_duration
Signed-off-by: default avatarRobin Hsu <robinhsu@google.com>
Change-Id: I3d95434bf49b37199056dc9ddfc36a59a7de17b7
Signed-off-by: default avatarRichard Chang <richardycc@google.com>
(cherry picked from commit 13b6bd38)
Signed-off-by: default avatarliangjlee <liangjlee@google.com>
parent 1c0a654f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment