Unfortunately there is no way to get the current section name from
code. I looked for one when I was trying to solve the __devexit
dangling pointer problem.
> 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.
AFAICT that cannot occur. The freed kernel .text.init pages are used
for kmalloc, not vmalloc.
-
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/