Files
kernel_arpi/include/linux
Minchan Kim c6bc1396ce FROMLIST: mm: replace migrate_[prep|finish] with lru_cache_[disable|enable]
Currently, migrate_[prep|finish] is merely a wrapper of
lru_cache_[disable|enable]. There is not much to gain from
having additional abstraction.

Use lru_cache_[disable|enable] instead of migrate_[prep|finish],
which would be more descriptive.

note: migrate_prep_local in compaction.c changed into lru_add_drain
to avoid CPU schedule cost with involving many other CPUs to keep
keep old behavior.

Bug: 180018981
Link: https://lore.kernel.org/linux-mm/20210319175127.886124-2-minchan@kernel.org/
Acked-by: Michal Hocko <mhocko@suse.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Minchan Kim <minchan@kernel.org>
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: I2f298c9ff53c8693527f1207ff25ab76a4ac3ada
2021-03-23 04:05:24 +00:00
..
2021-03-07 12:33:33 +01:00
2020-12-11 14:02:14 -08:00
2021-03-07 12:33:33 +01:00
2020-11-19 22:38:29 -05:00
2021-03-04 11:37:59 +01:00
2021-02-07 15:37:17 +01:00
2021-01-21 18:02:19 -08:00
2020-10-28 11:41:15 -06:00
2021-03-07 12:33:33 +01:00
2021-01-13 10:28:55 +01:00
2020-11-06 10:05:18 -08:00
2021-03-11 16:02:50 +00:00