Messages in this thread | | | Subject | Re: [PATCH v3 25/29] nios2: Module support | From | Valdis.Kletnieks@vt ... | Date | Tue, 09 Sep 2014 17:25:58 -0400 |
| |
On Mon, 08 Sep 2014 17:22:36 +0800, Ley Foon Tan said: > This patch adds support for loadable modules. > > Signed-off-by: Ley Foon Tan <lftan@altera.com>
> +/* > + * Modules should NOT be allocated with kmalloc for (obvious) reasons. > + * But we do it for now to avoid relocation issues. CALL26/PCREL26 cannot reach > + * from 0x80000000 (vmalloc area) to 0xc00000000 (kernel) (kmalloc returns > + * addresses in 0xc0000000) > + */
That's a nice scary comment to see. :)
What's the long-term plan here? [unhandled content-type:application/pgp-signature] | |