Problem: 51MB partition max size on jffs2

David Woodhouse dwmw2 at
Wed Dec 4 13:46:59 EST 2002

DGE at said:
>  kmalloc() is limited to 128K and the 128MB Flash needs more than
> twice that,

> so I tried vmalloc() and it seems to be OK (at least with PPC 2.4.18
> patched for the new MTD code). Does anyone know if this change is
> safe? 

You need to change the corresponding kfree() to vfree().


More information about the linux-mtd mailing list