Commit 06f8520
mm: migrate_device: use more folio in migrate_device_finalize()
commit 58bf8c2 upstream.
Saves a couple of calls to compound_head() and remove last two callers of
putback_lru_page().
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Kefeng Wang <[email protected]>
Reviewed-by: Vishal Moola (Oracle) <[email protected]>
Reviewed-by: Alistair Popple <[email protected]>
Cc: Baolin Wang <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Cc: Zi Yan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: David Hildenbrand <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
(cherry picked from commit e7a85efb873fa6f109c21ec99326b381f55e849e)1 parent 8ed7b08 commit 06f8520
1 file changed
+22
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
814 | 814 | | |
815 | 815 | | |
816 | 816 | | |
817 | | - | |
| 817 | + | |
818 | 818 | | |
819 | 819 | | |
820 | 820 | | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
821 | 824 | | |
822 | | - | |
823 | | - | |
824 | | - | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
825 | 828 | | |
826 | 829 | | |
827 | 830 | | |
828 | 831 | | |
829 | | - | |
830 | | - | |
831 | | - | |
832 | | - | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
833 | 838 | | |
834 | | - | |
| 839 | + | |
835 | 840 | | |
836 | 841 | | |
837 | | - | |
838 | | - | |
839 | 842 | | |
840 | 843 | | |
841 | 844 | | |
842 | | - | |
843 | | - | |
| 845 | + | |
| 846 | + | |
844 | 847 | | |
845 | | - | |
| 848 | + | |
846 | 849 | | |
847 | | - | |
848 | | - | |
849 | | - | |
850 | | - | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
851 | 854 | | |
852 | | - | |
| 855 | + | |
853 | 856 | | |
854 | 857 | | |
855 | 858 | | |
| |||
0 commit comments