On Thu, 1 Apr 2021 13:30:41 +0000 (UTC), Christophe Leroy wrote: > On book3s/32, when STRICT_KERNEL_RWX is selected, modules are > allocated on the segment just before kernel text, ie on the > 0xb0000000-0xbfffffff when PAGE_OFFSET is 0xc0000000. > > On the 8xx, TASK_SIZE is 0x80000000. The space between TASK_SIZE and > PAGE_OFFSET is not used and could be used for modules. > > [...]
Applied to powerpc/next. [1/3] powerpc/modules: Load modules closer to kernel text https://git.kernel.org/powerpc/c/2ec13df167040cd153c25c4d96d0ffc573ac4c40 [2/3] powerpc/8xx: Define a MODULE area below kernel text https://git.kernel.org/powerpc/c/9132a2e82adc6e5a1c7c7385df3bfb25576bdd80 [3/3] powerpc/32s: Define a MODULE area below kernel text all the time https://git.kernel.org/powerpc/c/80edc68e0479bafdc4869ec3351e42316b824596 cheers