LGTM, Thanks,
Reviewed-by: zhong jiang <zhongjiang-ali(a)linux.alibaba.com>
On 2021/12/29 10:43 上午, Baolin Wang wrote:
Hi,
This patch set backported more optimization and improvements for
tiered memory system from git branch [1]. Please find details in
each patch. Thanks.
Note:
Almost patches have no logic conflicts except patch 4, since we
should promote pages one by one in K4.19.
[1]
https://git.kernel.org/pub/scm/linux/kernel/git/vishal/tiering.git/log/?h=t…
Feng Tang (3):
mm/migrate: make migrate_misplaced_page works for unmapped file pages
memory tiering: support unmapped file cache pages promotion
mm/migrate: add vm counters to track reasons of page migration failure
Huang Ying (12):
memory tiering: add trace point for threshold adjustment
memory tiering: add node-vmstat for promote threshold
NUMA balancing: migrate dirty file cache pages
memory tiering: add file pages promotion counter
memory tiering: add file pages demotion counter
memory tiering: fix THP failed to be isolated live lock
memory tiering: check order in migrate_balanced_pgdat()
memory tiering: avoid kswap to be keep in failure state for long
memory tiering: accelerate promotion threshold adjustment
memory tiering: extend promotion threshold range
memory tiering: loosen per second rate limit
memory tiering: double hot threshold for write hint page fault
include/linux/mempolicy.h | 4 +-
include/linux/migrate.h | 11 +++-
include/linux/mmzone.h | 5 ++
include/linux/sched/numa_balancing.h | 5 +-
include/linux/vm_event_item.h | 5 ++
include/trace/events/sched.h | 24 +++++++++
kernel/sched/fair.c | 63 +++++++++++++++--------
mm/filemap.c | 26 +++++++++-
mm/huge_memory.c | 2 +-
mm/memory.c | 5 +-
mm/mempolicy.c | 6 ++-
mm/migrate.c | 98 +++++++++++++++++++++++++-----------
mm/mprotect.c | 8 ---
mm/page_alloc.c | 3 ++
mm/vmscan.c | 23 ++++++++-
mm/vmstat.c | 8 +++
16 files changed, 227 insertions(+), 69 deletions(-)