alistair23-linux/drivers/staging/android
Gioh Kim aeb7fa7b4f staging: ion: debugfs to shrink pool
This patch enables debugfs file /sys/kernel/debug/ion/heaps/system_shrink
to shrink pool and get pool size. This technically enables debugfs
shrinking for all heaps, not just the system heap although the system heap
is the only one with a shrinker right now. It is already implemented
but not complete. This patch completes and enables it.

Reading the file returns pool size
in page unit and writing the number of pages shrinks pool.
It flushes all pages to write zero at the file.

Signed-off-by: Gioh Kim <gioh.kim@lge.com>
Reviewed-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-07-14 22:47:30 -07:00
..
ion staging: ion: debugfs to shrink pool 2015-07-14 22:47:30 -07:00
trace
uapi Staging: fixed multiple spelling errors. 2015-05-08 09:23:58 +02:00
ashmem.c
ashmem.h
Kconfig staging: android: Add more help description on Kconfig 2015-05-24 13:27:13 -07:00
lowmemorykiller.c Staging driver patches for 4.2-rc1 2015-06-26 15:46:08 -07:00
Makefile
sw_sync.c
sw_sync.h
sync.c
sync.h
sync_debug.c
timed_gpio.c
timed_gpio.h
timed_output.c
timed_output.h
TODO