diff options
| author | SeongJae Park <[email protected]> | 2025-06-16 17:23:46 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2025-07-10 05:42:13 +0000 |
| commit | e1b1fe45573aa9919c18c13fcf6ec688534f92e3 (patch) | |
| tree | a81d4e1925e63dea54b04424a89b0edf6a838d6f /mm/rmap.c | |
| parent | Revert "mm: rename alloc_demote_folio to alloc_migrate_folio" (diff) | |
| download | kernel-e1b1fe45573aa9919c18c13fcf6ec688534f92e3.tar.gz kernel-e1b1fe45573aa9919c18c13fcf6ec688534f92e3.zip | |
Revert "mm: make alloc_demote_folio externally invokable for migration"
This reverts commit a00ce85af2a1be494d3b0c9457e8e81cdcce2a89.
Commit a00ce85af2a1 ("mm: make alloc_demote_folio externally invokable for
migration") was made to let DAMOS_MIGRATE_{HOT,COLD} call the function.
But a previous commit made DAMOS_MIGRATE_{HOT,COLD} call
alloc_migration_target() instead. Hence there are no more callers of the
function outside of vmscan.c. Revert the commit to make the function
static again.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: SeongJae Park <[email protected]>
Reviewed-by: Joshua Hahn <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: Honggyu Kim <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Lorenzo Stoakes <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Qi Zheng <[email protected]>
Cc: Shakeel Butt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'mm/rmap.c')
0 files changed, 0 insertions, 0 deletions
