Re: Rusty's module talk at the Kernel Summit

From: Hugh Dickins (hugh@veritas.com)
Date: Wed Jul 03 2002 - 12:07:15 EST


On Wed, 3 Jul 2002, Adam J. Richter wrote:
> On Wed, 03 Jul 2002 22:27:33 +1000, Keith Owens wrote:
>
> >It does not. There is no code to adjust any tables after discarding
> >kernel __init sections. We rely on the fact that the discarded kernel
> >area is not reused for executable text.
>
> Come to think of it, if the core kernel's .text.init pages could
> later be vmalloc'ed for module .text section, then I think you may have
> found a potential kernel bug.

No: the virtual address (which is what matters) would be different:
core kernel's .text.init is not in vmalloc virtual address range.

Hugh

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



This archive was generated by hypermail 2b29 : Sun Jul 07 2002 - 22:00:11 EST