Re: [PATCH/RFC] module: replace module_layout with module_memory

From: Christoph Hellwig
Date: Thu Jan 19 2023 - 00:35:57 EST


On Wed, Jan 18, 2023 at 01:52:51PM -0800, Song Liu wrote:
> In this way we can use the array in the for loops, and use mod->core_text,
> etc. when we only need to access one of them.

Just use the array please instead of making it too ugly. If that
is the only sensible way to iterate we have a good argument for the
array and can live with it.