+44
−6
+1
−1
+18
−21
Loading
mainline inclusion from mainline-v6.9-rc1 commit 5cec4eb7fad6fb1e9a3dd8403b558d1eff7490ff category: performance bugzilla: https://gitee.com/openeuler/intel-kernel/issues/IBP9QO CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5cec4eb7fad6fb1e9a3dd8403b558d1eff7490ff -------------------------------- For each CPU hotplug event, we will update per-CPU data slice size and corresponding PCP configuration for every online CPU to make the implementation simple. But, Kyle reported that this takes tens seconds during boot on a machine with 34 zones and 3840 CPUs. So, in this patch, for each CPU hotplug event, we only update per-CPU data slice size and corresponding PCP configuration for the CPUs that share caches with the hotplugged CPU. With the patch, the system boot time reduces 67 seconds on the machine. Intel-SIG: commit 5cec4eb7fad6 and cache_info: remove unnecessary CPU cache info update. Backport Auto-tune per-CPU pageset size fix. Link: https://lkml.kernel.org/r/20240126081944.414520-1-ying.huang@intel.com Fixes: 362d37a106dd ("mm, pcp: reduce lock contention for draining high-order pages") Signed-off-by:"Huang, Ying" <ying.huang@intel.com> Originally-by:
Kyle Meyer <kyle.meyer@hpe.com> Reported-and-tested-by:
Kyle Meyer <kyle.meyer@hpe.com> Cc: Sudeep Holla <sudeep.holla@arm.com> Cc: Mel Gorman <mgorman@techsingularity.net> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> [ Aubrey Li: amend commit log ] Signed-off-by:
Aubrey Li <aubrey.li@linux.intel.com>