Re: [BUG] vmalloc, kmalloc - 2.4.x

Alan Cox
2003-02-03T16:12:45Z

On Mon, 2003-02-03 at 15:40, Grzegorz Jaskiewicz wrote:
> On Mon, 2003-02-03 at 16:18, Alan Cox wrote:
>
> > Firstly vmalloc isnt permitted in interrupt context (use kmalloc with GFP_KERNEL),
> > although for such small chunks you might want to vmalloc a bigger buffer once
> > at startup.
> i've allso tried kmalloc with the same result.
> Also, in this example it is timer - module isn't cleanly wroted becouse
> it supose to be only an example.

If I build the example using the cleanups I suggested it works for me. The FPU one btw
seems to be a red herring, my gcc is outputting a precomputed integer constant

Alan