Centos-kernel-stream-9/kernel
Rafael Aquini 49c4b4943f sched/numa, mm: make numa migrate functions to take a folio
JIRA: https://issues.redhat.com/browse/RHEL-27745

This patch is a backport of the following upstream commit:
commit 8c9ae56dc73b5ae48a14000b96292bd4f2aeb710
Author: Kefeng Wang <wangkefeng.wang@huawei.com>
Date:   Thu Sep 21 15:44:17 2023 +0800

    sched/numa, mm: make numa migrate functions to take a folio

    The cpupid (or access time) is stored in the head page for THP, so it is
    safely to make should_numa_migrate_memory() and numa_hint_fault_latency()
    to take a folio.  This is in preparation for large folio numa balancing.

    Link: https://lkml.kernel.org/r/20230921074417.24004-7-wangkefeng.wang@huawei.com
    Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
    Cc: David Hildenbrand <david@redhat.com>
    Cc: "Huang, Ying" <ying.huang@intel.com>
    Cc: Hugh Dickins <hughd@google.com>
    Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
    Cc: Mike Kravetz <mike.kravetz@oracle.com>
    Cc: Zi Yan <ziy@nvidia.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

Signed-off-by: Rafael Aquini <raquini@redhat.com>
2024-12-09 12:22:36 -05:00
..
bpf Merge: CVE-2024-49888: bpf: Fix a sdiv overflow issue 2024-11-22 09:28:08 +00:00
cgroup Merge: cgroup: Extend cgroup.stat as a replacement of /proc/cgroups for v2 2024-11-25 13:17:36 +00:00
configs mm/slab: rename CONFIG_SLAB to CONFIG_SLAB_DEPRECATED 2024-09-05 20:35:59 -04:00
debug
dma dma-mapping: report unlimited DMA addressing in IOMMU DMA path 2024-11-04 08:57:41 -07:00
entry
events perf: Fix missing RCU reader protection in perf_event_clear_cpumask() 2024-11-18 19:23:32 +01:00
futex mm/mm_init.c: remove obsolete macro HASH_SMALL 2024-10-01 11:18:14 -04:00
gcov
irq kthread: add kthread_stop_put 2024-09-20 12:26:34 -07:00
kcsan
livepatch livepatch: Add "replace" sysfs attribute 2024-10-15 09:54:10 -04:00
locking locking/local_lock: Add local nested BH locking infrastructure. 2024-10-08 11:35:35 +02:00
module kunit: add KUNIT_INIT_TABLE to init linker section 2024-07-31 20:32:28 -06:00
power
printk
rcu Merge: rcu: Use system_unbound_wq to avoid disturbing isolated CPUs 2024-10-25 16:29:24 +00:00
sched sched/numa, mm: make numa migrate functions to take a folio 2024-12-09 12:22:36 -05:00
time Merge: CNB96: timekeeping: add clocksource ID and infrastructure for converting to/from a base clock 2024-11-05 11:41:13 +00:00
trace Merge: uprobes: encapsulate preparation of uprobe args buffer 2024-11-28 20:18:58 +00:00
.gitignore
Kconfig.freezer
Kconfig.hz
Kconfig.locks
Kconfig.preempt
Makefile
acct.c
async.c
audit.c Merge: audit: Send netlink ACK before setting connection in auditd_set 2024-08-16 14:22:20 +00:00
audit.h
audit_fsnotify.c
audit_tree.c
audit_watch.c
auditfilter.c
auditsc.c fs: port xattr to mnt_idmap 2024-10-16 10:45:21 +08:00
backtracetest.c
bounds.c
capability.c fs: port i_{g,u}id_into_vfs{g,u}id() to mnt_idmap 2024-10-16 11:02:01 +08:00
cfi.c
compat.c
configs.c
context_tracking.c
cpu.c Merge: Update arch/{x86,powerpc,arm64}/mm to v6.6 2024-11-12 08:02:20 +00:00
cpu_pm.c
crash_core.c mm: free up a word in the first tail page 2024-10-01 11:21:53 -04:00
crash_dump.c
cred.c
delayacct.c
dma.c
exec_domain.c
exit.c lazy tlb: introduce lazy tlb mm refcount helper functions 2024-11-04 09:14:17 -05:00
exit.h
extable.c
fail_function.c
fork.c lazy tlb: shoot lazies, non-refcounting lazy tlb mm reference handling scheme 2024-11-04 09:14:17 -05:00
freezer.c
gen_kheaders.sh
groups.c
hung_task.c
iomem.c mm: move is_ioremap_addr() into new header file 2024-10-01 11:17:52 -04:00
irq_work.c
jump_label.c
kallsyms.c
kallsyms_internal.h
kallsyms_selftest.c
kallsyms_selftest.h
kcmp.c
kcov.c
kexec.c
kexec_core.c
kexec_elf.c
kexec_file.c
kexec_internal.h
kheaders.c
kprobes.c fprobe: Pass return address to the handlers 2024-10-25 09:07:32 +02:00
ksyms_common.c
ksysfs.c
kthread.c kthread: unpark only parked kthread 2024-11-25 12:31:48 +00:00
latencytop.c
module_signature.c
notifier.c
nsproxy.c
padata.c padata: Honor the caller's alignment in case of chunk_size 0 2024-10-17 15:56:47 -04:00
panic.c mm: remove arguments of show_mem() 2024-10-01 11:17:31 -04:00
params.c
pid.c
pid_namespace.c Revert "rcu-tasks: Fix synchronize_rcu_tasks() VS zap_pid_ns_processes()" 2024-08-26 10:57:50 -04:00
pid_sysctl.h
platform-feature.c
profile.c
ptrace.c
range.c
reboot.c kernel/reboot: Add SYS_OFF_MODE_RESTART_PREPARE mode 2024-08-22 11:21:33 -04:00
regset.c
relay.c
resource.c resource: fix region_intersects() vs add_memory_driver_managed() 2024-10-29 10:10:23 -06:00
resource_kunit.c
rh_messages.c
rh_messages.h
rh_shadowman.c
rseq.c
scftorture.c
scs.c
seccomp.c
signal.c mm: suppress mm fault logging if fatal signal already pending 2024-09-05 20:37:05 -04:00
smp.c
smpboot.c kthread: add kthread_stop_put 2024-09-20 12:26:34 -07:00
smpboot.h
softirq.c softirq: Fix suspicious RCU usage in __do_softirq() 2024-08-26 10:57:51 -04:00
stackleak.c
stacktrace.c
static_call.c
static_call_inline.c Merge: static_call: Replace pointless WARN_ON() in static_call_module_notify() 2024-11-15 21:09:46 +00:00
stop_machine.c
sys.c powerpc/dexcr: Add DEXCR prctl interface 2024-10-04 01:55:31 -04:00
sys_ni.c x86/shstk: Introduce map_shadow_stack syscall 2024-10-01 11:17:15 -04:00
sysctl-test.c
sysctl.c
task_work.c task_work: Add TWA_NMI_CURRENT as an additional notify mode. 2024-10-14 13:02:40 +02:00
taskstats.c
test_kprobes.c
torture.c
tracepoint.c
tsacct.c
ucount.c
uid16.c
uid16.h
umh.c
up.c
user-return-notifier.c
user.c
user_namespace.c
usermode_driver.c
utsname.c
utsname_sysctl.c
watch_queue.c
watchdog.c
watchdog_hld.c
workqueue.c sched/balancing: Rename scheduler_tick() => sched_tick() 2024-09-20 04:38:48 -04:00
workqueue_internal.h