android_kernel_xiaomi_sm8350/drivers/mtd/ubi
Artem Bityutskiy e88d6e10e5 UBI: do not use vmalloc on I/O path
Similar reason as in case of the previous patch: it causes
deadlocks if a filesystem with writeback support works on top
of UBI. So pre-allocate needed buffers when attaching MTD device.
We also need mutexes to protect the buffers, but they do not
cause much contantion because they are used in recovery, torture,
and WL copy routines, which are called seldom.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2007-10-14 13:10:21 +03:00
..
build.c UBI: do not use vmalloc on I/O path 2007-10-14 13:10:21 +03:00
cdev.c UBI: fix compile warning 2007-07-18 16:59:17 +03:00
debug.c UBI: use linux print_hex_dump(), not home-grown one 2007-10-14 13:10:20 +03:00
debug.h UBI: use linux print_hex_dump(), not home-grown one 2007-10-14 13:10:20 +03:00
eba.c UBI: do not use vmalloc on I/O path 2007-10-14 13:10:21 +03:00
gluebi.c UBI: set correct gluebi device size 2007-07-18 16:52:51 +03:00
io.c UBI: do not use vmalloc on I/O path 2007-10-14 13:10:21 +03:00
kapi.c UBI: don't use array index before testing if it is negative 2007-10-14 13:10:20 +03:00
Kconfig UBI: Unsorted Block Images 2007-04-27 14:23:33 +03:00
Kconfig.debug UBI: Unsorted Block Images 2007-04-27 14:23:33 +03:00
Makefile UBI: Unsorted Block Images 2007-04-27 14:23:33 +03:00
misc.c UBI: use vmalloc for large buffers 2007-07-18 16:53:08 +03:00
scan.c UBI: do not use vmalloc on I/O path 2007-10-14 13:10:21 +03:00
scan.h UBI: do not use vmalloc on I/O path 2007-10-14 13:10:21 +03:00
ubi.h UBI: do not use vmalloc on I/O path 2007-10-14 13:10:21 +03:00
upd.c UBI: use vmalloc for large buffers 2007-07-18 16:53:08 +03:00
vmt.c UBI: fix sparse warnings 2007-10-14 13:10:20 +03:00
vtbl.c UBI: do not use vmalloc on I/O path 2007-10-14 13:10:21 +03:00
wl.c UBI: do not use vmalloc on I/O path 2007-10-14 13:10:21 +03:00