[PATCH v2 1/3] module: Rename module_alloc() to text_alloc() and move to kernel proper

Peter Zijlstra peterz at infradead.org
Wed Jul 15 02:46:11 AEST 2020


On Tue, Jul 14, 2020 at 07:31:03PM +0300, Jarkko Sakkinen wrote:
> On Tue, Jul 14, 2020 at 03:01:09PM +0200, Peter Zijlstra wrote:
> > to help with text_alloc() usage in generic code, but I think
> > fundamentally, there's only these two options.
> 
> There is one arch (nios2), which uses a regular kzalloc(). This means
> that both text_alloc() and text_memfree() need to be weaks symbols and
> nios2 needs to have overriding text.c to do its thing.

IMO nios2 is just broken.


More information about the Linuxppc-dev mailing list