Re: [PATCH 3/3] Assert notifier_block and notifier_call are not ininit section

From: Linus Torvalds
Date: Tue Apr 25 2006 - 16:38:28 EST




On Tue, 25 Apr 2006, Alan Stern wrote:
>
> What about loadable modules? Is their code never loaded into memory that
> used to be part of an init section?

Their code might _physically_ reside in a re-allocation of an init
section, but will have a virtual address far away (and it would be the
virtual address that you'd see if you took the address of a function).

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/