s intended for debugging memory leaks rather than
production use.
Signed-off-by: Greg Hackmann <ghackm...@google.com>
Signed-off-by: Ruchi Kandoi <kandoiru...@google.com>
---
drivers/misc/Kconfig | 16 +++
drivers/misc/Makefile| 1 +
drivers/
Signed-off-by: Greg Hackmann <ghackm...@google.com>
Signed-off-by: Ruchi Kandoi <kandoiru...@google.com>
---
drivers/dma-buf/dma-buf.c | 37 ++
drivers/staging/android/ion/ion.c | 14 +
drivers/staging/android/ion/ion
to the
child process instead of the parent.
Signed-off-by: Ruchi Kandoi <kandoiru...@google.com>
---
drivers/misc/memtrack.c | 45 +++
drivers/staging/android/ion/ion.c | 45 +--
include/linux/memtrack.h
Since mmaped pages will be accounted by the PSS, memtrack needs a way
to differentiate the total memory that hasn't been accounted for.
Signed-off-by: Ruchi Kandoi <kandoiru...@google.com>
Signed-off-by: Greg Hackmann <ghackm...@google.com>
---
drivers/misc/memtrack.c
the responsible task_struct. These are low-level
APIs with only two in-tree callers, both adjusted in this patch.
Signed-off-by: Greg Hackmann <ghackm...@google.com>
Signed-off-by: Ruchi Kandoi <kandoiru...@google.com>
---
drivers/android/binder.c | 4 ++--
fs/file.c
From: Greg Hackmann <ghackm...@google.com>
ION_IOC_TAG provides a userspace interface for tagging buffers with
their memtrack usage after allocation.
Signed-off-by: Ruchi Kandoi <kandoiru...@google.com>
---
drivers/staging/android/ion/ion-ioctl.c | 17 +
drivers/sta
plementations.
Greg Hackmann (1):
drivers: staging: ion: add ION_IOC_TAG ioctl
Ruchi Kandoi (5):
fs: add installed and uninstalled file_operations
drivers: misc: add memtrack
dma-buf: add memtrack support
memtrack: Adds the accounting to keep track of all mmaped/unmapped
pages.
me