arm64: Cleanups if modules are disabled
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 2 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 2 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] arm64: Cleanups if modules are disabled
Quoted 4 lines · Geert Uytterhoeven
Hi Catalin, Will,
This patch series disables printing and reservation of virtual memory for modules if module support is disabled.
If we're going to do this, then we should probably also update the pt dumping code (mm/dump.c) to avoid dumping the modules area too.
There are also some weird consequences of defining MODULES_VSIZE to be 0, since we'll end up registering a zero-length region with KASAN and calculating a bogus module_alloc_base in the kaslr code. This might all be harmless, but it feels like we're laying down some tripwires for ourselves that I'd rather avoid doing.
Will