Re: [GIT PULL] MM updates for 6.11-rc1

From: Linus Torvalds
Date: Sun Jul 21 2024 - 20:15:26 EST


On Sun, 21 Jul 2024 at 14:54, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> - Is anyone reading this stuff? If so, email me!

I do actually try to read the explanations..

However, I also do build testing, which seems to have been missing. Notably:

> Ho-Ren (Jack) Chuang (1):
> memory tier: consolidate the initialization of memory tiers

causes

WARNING: modpost: vmlinux: section mismatch in reference:
hmat_set_default_dram_perf+0xc (section: .text) -> default_dram_nodes
(section: .init.data)
WARNING: modpost: vmlinux: section mismatch in reference:
hmat_set_default_dram_perf+0x6c (section: .text) -> default_dram_nodes
(section: .init.data)

and sure enough, default_dram_nodes() is an init section, and is
accessed from hmat_set_default_dram_perf().

I think the fix is to just mark hmat_set_default_dram_perf() as an
init function too. Testing that now.

Linus