When ion_vma_open is called, a reference to the handle in the vma must be taken. Otherwise, if forking occurs, ion_vma_close will be called twice which will leave one of the calls with an invalid reference. |
||
|---|---|---|
| .. | ||
| rockchip | ||
| tegra | ||
| ion.c | ||
| ion_carveout_heap.c | ||
| ion_heap.c | ||
| ion_priv.h | ||
| ion_system_heap.c | ||
| ion_system_mapper.c | ||
| Kconfig | ||
| Makefile | ||