Commit 5d074cc3 authored by Bryan Yu's avatar Bryan Yu Committed by Chromeos LUCI
Browse files

CHROMIUM: Add implementation of MGLRU in sysfs



debugfs is disabled by default for security reasons. This CL removes the
dependency of lru_gen on debug and adds new implemenetation using sysfs.
Path changes from /sys/kernel/debug/lru_gen to /sys/kernel/mm/lru_gen/admin

BUG=b:241321277
TEST=Manual testing on DUT
TEST=cat /sys/kernel/mm/lru_gen/admin && /sys/kernel/debug/lru_gen
TEST=same result before and after dropping the pages

Signed-off-by: default avatarBryan Yu <yuholong@google.com>
Change-Id: I62d8cbd4b8b614dbe6da08c4a11d7c99e30bb5ac
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/3839069


Reviewed-by: default avatarYu Zhao <yuzhao@chromium.org>
Reviewed-by: default avatarSuleiman Souhlal <suleiman@chromium.org>
parent 0cb62642
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment