diff options
author | Vishal Moola (Oracle) <vishal.moola@gmail.com> | 2023-01-30 23:18:33 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-02-14 02:54:31 +0300 |
commit | 4a64981dfee9119aa2c1f243b48f34cbbd67779c (patch) | |
tree | 5db47166d5f8c12540aef550747b2b1cd3e1178e /mm/migrate.c | |
parent | d451b89dcd183da725eda84dfb8a46c0b32a4234 (diff) | |
download | linux-4a64981dfee9119aa2c1f243b48f34cbbd67779c.tar.xz |
mm/mempolicy: convert migrate_page_add() to migrate_folio_add()
Replace migrate_page_add() with migrate_folio_add(). migrate_folio_add()
does the same a migrate_page_add() but takes in a folio instead of a page.
This removes a couple of calls to compound_head().
Link: https://lkml.kernel.org/r/20230130201833.27042-7-vishal.moola@gmail.com
Signed-off-by: Vishal Moola (Oracle) <vishal.moola@gmail.com>
Reviewed-by: Yin Fengwei <fengwei.yin@intel.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Jane Chu <jane.chu@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/migrate.c')
0 files changed, 0 insertions, 0 deletions