ANDROID: export folio_deactivate() for GKI purpose.

Export the symbol folio_deactivate() to access LRU list in ko module for customizing activate and deactivate operations. This is a necessary component of our memory reclaim strategy.

Bug: 429908837

Change-Id: Ied760489b2c1726dbfe52629f6d544aa607e5106
Signed-off-by: daiyang5 <daiyang5@xiaomi.com>
This commit is contained in:
daiyang5
2025-07-07 10:04:20 +08:00
committed by Treehugger Robot
parent 46e269016e
commit 7f4572a697

View File

@@ -736,6 +736,7 @@ void folio_deactivate(struct folio *folio)
local_unlock(&cpu_fbatches.lock); local_unlock(&cpu_fbatches.lock);
} }
} }
EXPORT_SYMBOL_GPL(folio_deactivate);
/** /**
* folio_mark_lazyfree - make an anon folio lazyfree * folio_mark_lazyfree - make an anon folio lazyfree