dma-pool: add pool sizes to debugfs
authorDavid Rientjes <rientjes@google.com>
Wed, 15 Apr 2020 00:04:59 +0000 (17:04 -0700)
committerChristoph Hellwig <hch@lst.de>
Sat, 25 Apr 2020 11:17:05 +0000 (13:17 +0200)
commit2edc5bb3c5cc42131438460a50b7b16905c81c2a
tree1a372c4c324d23c50b72e9b77a1917665d034140
parent76a19940bd62a81148c303f3df6d0cee9ae4b509
dma-pool: add pool sizes to debugfs

The atomic DMA pools can dynamically expand based on non-blocking
allocations that need to use it.

Export the sizes of each of these pools, in bytes, through debugfs for
measurement.

Suggested-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David Rientjes <rientjes@google.com>
[hch: remove the !CONFIG_DEBUG_FS stubs]
Signed-off-by: Christoph Hellwig <hch@lst.de>
kernel/dma/pool.c