Signed-off-by: Greg Hackmann
Signed-off-by: Ruchi Kandoi
---
drivers/dma-buf/dma-buf.c | 37 ++
drivers/staging/android/ion/ion.c | 14 +
drivers/staging/android/ion/ion_priv.h | 2 ++
include/linux/dma-buf.h| 5
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
Signed-off-by: Greg Hackmann
---
drivers/misc/memtrack.c | 175 --
drivers/st
child process instead of the parent.
Signed-off-by: Ruchi Kandoi
---
drivers/misc/memtrack.c | 45 +++
drivers/staging/android/ion/ion.c | 45 +--
include/linux/memtrack.h | 19 +++--
include
From: Greg Hackmann
ION_IOC_TAG provides a userspace interface for tagging buffers with
their memtrack usage after allocation.
Signed-off-by: Ruchi Kandoi
---
drivers/staging/android/ion/ion-ioctl.c | 17 +
drivers/staging/android/uapi/ion.h | 25
cators as well,
such as GEM implementations.
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 m
g 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
Signed-off-by: Ruchi Kandoi
---
drivers/android/binder.c | 4 ++--
fs/file.c| 38 +-
fs/o
CK_DEBUG is intended for debugging memory leaks rather than
production use.
Signed-off-by: Greg Hackmann
Signed-off-by: Ruchi Kandoi
---
drivers/misc/Kconfig | 16 +++
drivers/misc/Makefile| 1 +
drivers/misc/memtrack.c | 360 +++