[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230918103213.4166210-1-wangkefeng.wang@huawei.com>
Date: Mon, 18 Sep 2023 18:32:07 +0800
From: Kefeng Wang <wangkefeng.wang@...wei.com>
To: Andrew Morton <akpm@...ux-foundation.org>
CC: <willy@...radead.org>, <linux-mm@...ck.org>,
<linux-kernel@...r.kernel.org>, <ying.huang@...el.com>,
<david@...hat.com>, Zi Yan <ziy@...dia.com>,
Mike Kravetz <mike.kravetz@...cle.com>, <hughd@...gle.com>,
Kefeng Wang <wangkefeng.wang@...wei.com>
Subject: [PATCH 0/6] mm: convert numa balancing functions to use a folio
The do_numa_pages only handle non-compound page, and only PMD-mapped THP
is handled in do_huge_pmd_numa_page(), but large, PTE-mapped folio will
be supported, let's convert more numa balancing functions to use/take a
folio in preparation for that, no functional change intended for now.
Kefeng Wang (6):
sched/numa, mm: make numa migrate functions to take a folio
mm: mempolicy: make mpol_misplaced() to take a folio
mm: memory: make numa_migrate_prep() to take a folio
mm: memory: use a folio in do_numa_page()
mm: memory: add vm_normal_pmd_folio()
mm: huge_memory: use a folio in do_huge_pmd_numa_page()
include/linux/mempolicy.h | 4 +--
include/linux/mm.h | 2 ++
include/linux/sched/numa_balancing.h | 4 +--
kernel/sched/fair.c | 12 +++----
mm/huge_memory.c | 28 ++++++++--------
mm/internal.h | 2 +-
mm/memory.c | 49 ++++++++++++++++------------
mm/mempolicy.c | 20 ++++++------
8 files changed, 65 insertions(+), 56 deletions(-)
--
2.27.0
Powered by blists - more mailing lists