WSL2-Linux-Kernel/drivers/staging/android
liuhailong 594ea7358b staging: android: ashmem: add size field in procfs fdinfo
add this information to help user to find ashmem problem.

ashmem leak scenario:
-000|fd = ashmem_create_region
-001|mmap and pagefault
-002|munmap
-003|forget close(fd) <---- which lead to ashmem leak

Signed-off-by: liuhailong <liuhailong@oppo.com>
收件人: 刘海龙(DuckBuBee) <liuhailong@oppo.com>
Link: https://lore.kernel.org/r/20210618095035.32410-1-liuhailong@oppo.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-06-18 13:02:40 +02:00
..
uapi staging: android: Remove filename reference from file 2021-03-10 09:25:28 +01:00
Kconfig staging: ion: remove from the tree 2020-10-26 06:53:09 +01:00
Makefile staging: ion: remove from the tree 2020-10-26 06:53:09 +01:00
TODO staging: ion: remove from the tree 2020-10-26 06:53:09 +01:00
ashmem.c staging: android: ashmem: add size field in procfs fdinfo 2021-06-18 13:02:40 +02:00
ashmem.h