UBI: use vmalloc for large buffers
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Sun, 6 May 2007 13:12:54 +0000 (16:12 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 18 Jul 2007 13:53:08 +0000 (16:53 +0300)
commit92ad8f37509a7d9d5dd6e0092211b092a7ca7fb1
tree96c0f9c524b80e8d1d247e3f462c0c0d6fb782a5
parent79b510c0f21174f4bd055d1aab156e548ae3a5f2
UBI: use vmalloc for large buffers

UBI allocates temporary buffers of PEB size, which may be 256KiB.
Use vmalloc instead of kmalloc for such big temporary buffers.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/build.c
drivers/mtd/ubi/cdev.c
drivers/mtd/ubi/eba.c
drivers/mtd/ubi/io.c
drivers/mtd/ubi/misc.c
drivers/mtd/ubi/scan.c
drivers/mtd/ubi/ubi.h
drivers/mtd/ubi/upd.c
drivers/mtd/ubi/vtbl.c