mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-03 19:53:02 +09:00
PD#SWPL-5553 Problem: Binder will allocate about 1MB vmalloc memory for IPC for each process, but under code like GTVS, there are about over 100 vmalloc ranges allocated by binder, which cause vmalloc address range not enough for other modules. Solution: 1, only vmalloc 4KB at first; 2, if user space need more memory, try to allocate a new vmalloc range with large size and move all related data to new place 3, dump vmalloc info if vmalloc failed Verify: P212 Change-Id: I07eea2623e5e19d410e0ff8a0bc6b11e2037023c Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>