Commit 9db4e989 authored by Sooyong Suk's avatar Sooyong Suk Committed by Suren Baghdasaryan
Browse files

ANDROID: mm: add vendor hooks in madvise for swap entry

Add vendor hooks in madvise for swap entry
- android_vh_madvise_pageout_swap_entry
- android_vh_madvise_swapin_walk_pmd_entry
- android_vh_process_madvise_end

removed android_vh_madvise_pageout_swap_entry()
renamed android_vh_process_madvise()

Bug: 284059805

This is partial cherry-pick of https://android-review.googlesource.com/c/kernel/common/+/2601992.
Other part of this patch is already merged with https://android-review.googlesource.com/c/kernel/common/+/3064546

.

This reintroduces android_vh_madvise_pageout_swap_entry() with additional param.

Bug: 351175506
Change-Id: I2ed34dce86f5ed1a1168bede28a8cc2667b621cf
Signed-off-by: default avatarSooyong Suk <s.suk@samsung.corp-partner.google.com>
parent 970642eb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment