summaryrefslogtreecommitdiffstats
tag namemodules-6.3-rc1 (bdb87c2fdf11273b1809d2b83ca11d09d7828771)
tag date2023-02-21 14:36:48 -0800
tagged byLuis Chamberlain <mcgrof@kernel.org>
tagged objectcommit f412eef039...
downloadlinux-modules-6.3-rc1.tar.gz
modules-6.3-rc1
Nothing exciting at all for modules for v6.3. The biggest change is just the change of INSTALL_MOD_DIR from "extra" to "updates" which I found lingered for ages for no good reason while testing the CXL mock driver [0]. The CXL mock driver has no kconfig integration and requires building an external module... and re-building the *rest* of the production drivers. This mock driver when loaded but not the production ones will crash. All this crap can obviously be fixed by integrating kconfig semantics into such test module, however that's not desirable by the maintainer, and so sensible defaults must be used to ensure a default "make modules_install" will suffice for most distros which do not have a file like /etc/depmod.d/dist.conf with something like `search updates extra built-in`. Since most distros rely on kmod and since its inception the "updates" directory is always in the search path it makes more sense to use that than the "extra" which only *some* RH based systems rely on. All this stuff has been on linux-next for a while. For v6.4 I already have queued some initial work by Song Liu which gets us slowly going to a place where we *may* see a generic allocator for huge pages for module text to avoid direct map fragmentation *and* reduce iTLB pressure. That work is in its initial stages, no allocator work is done yet. This is all just prep work. Fortunately Thomas Gleixner has helped convince Song that modules *need* to be *requirement* if we are going to see any special allocator touch x86. So who knows... maybe around v6.5 we'll start seeing some *real* performance numbers of the effect of using huge pages for something other than eBPF toys. For v6.4 also, you may start seeing patches from Nick Alcock on different trees and modules-next which aims at extending kallsyms *eventually* to provide clearer address to symbol lookups. The claim is that this is a *great* *feature* tracing tools are dying to have so they can for instance disambiguate symbols as coming from modules or from other parts of the kernel. I'm still waiting to see proper too usage of such stuff, but *how* we lay this out is still being ironed out. Part of the initial work I've been pushing for is to help upkeep our modules build optimizations, so being mindful about the work by Masahiro Yamada on commit 8b41fc4454e ("kbuild: create modules.builtin without Makefile.modbuiltin or tristate.conf") which helps avoid traversing the build tree twice. After this commit we now rely on the MODULE_LICENSE() tag to determine in a *faster* way if something being built could be a module and we dump this into the modules.builtin so that modprobe can simply succeed if a module is known to already be built-in. The cleanup work on MODULE_LICENSE() simply stems to assist false positives from userspace for things as built-in when they *cannot ever* be modules as we don't even tristate the code as modular. This work also helps with the SPDX effort as some code is not clearly identified with a tag. In the *future*, once all *possible* modules are confirmed to have a respective SPDX tag, we *may* just be able to replace the MODULE_LICENSE() to instead be generated automatically through inference of the respective module SPDX tags. [0] https://lkml.kernel.org/r/20221209062919.1096779-1-mcgrof@kernel.org -----BEGIN PGP SIGNATURE----- iQJGBAABCgAwFiEENnNq2KuOejlQLZofziMdCjCSiKcFAmP1R4cSHG1jZ3JvZkBr ZXJuZWwub3JnAAoJEM4jHQowkoinwKoP/1xzihp1mdV+XKxUkeOiVmnX06EXGjQw oT6zUtkxQar9ud2sM+2Qmb2/uTXr+8dWwdcv+oq5WFqMzwFdjlxK4pAPzC+0M8dj yS0mlslIQbRY0H3DSHJdZ/gBCUU/XNWNwnWpiMr3jZiAlBznIZMW9ZUMUAsHJd7L x2x0aOi6E8Xd9VMQ4+4AraI/fTmoTUUZvie9is38IzjKsgFAMpCN2PoN+8T61iBy yn6tGfR7Vn/oh2XY/877yq6OAvYAtOsfCIRiuCb483XdjdE8/SW4/o3BZsEfYsVm aMwoc309rfljeTOqz6EnnaJivWPpibVZ3nFq6Rz5a5vrOT6hEvDSazD194UpuHw/ P5m2AoqHGf35lgDdzQgSpNskK+B32PVh397EJ97mfuHwfHICU8QHoBiWPSGoYftF oDS0TJ4fU1lCRQ+p+Fda3n9HhvpnZ6ohYaAi1rMuBqyEr8gxfThsOcWDqT6LCSQo DeU8x80XK1VW5ReaEUuVATzUBPzyEsthh3gQcBGoqGElRKmlUDlnjVlhc7NtSvmS +ohznxktp7Vsp6lnPtuJGOMpq3B9oaaEz0AqVpdZlsvEHST711OsRQp6b6Lz3bbr pDPQw+9uv+YxHrUiOcxcsYEkbMKgz0WNReKPjs5TZW5e6w9fLdETaY3TJRMdVAbz G6yl1QdrmGeY =aeTV -----END PGP SIGNATURE-----