Re: [PATCH v4] staging: android: ion: Add per-heap counters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Sep 30, 2018 at 06:24:52PM +0300, Alexey Skidanov wrote:
> Heap statistics have been removed and currently even basics statistics
> are missing.
> 
> This patch creates per heap debugfs directory /sys/kernel/debug/<heap_name>
> and adds the following counters:
> - the number of allocated buffers;
> - the number of allocated bytes;
> - the number of allocated bytes watermark.
> 
> Signed-off-by: Alexey Skidanov <alexey.skidanov@xxxxxxxxx>
> Acked-by: Laura Abbott <labbott@xxxxxxxxxx>
> ---
> 
> v3: 
> 	Removed debugfs_create_dir() return value checking
> v4:
> 	Added spinlock to protect heap statistics
> 
>  drivers/staging/android/ion/ion.c | 50 ++++++++++++++++++++++++++++++++-------
>  drivers/staging/android/ion/ion.h | 10 +++++++-
>  2 files changed, 51 insertions(+), 9 deletions(-)

This patch fails to apply to my staging-next branch :(

Please fix up and resend.

thanks,

greg k-h
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux