Re: determining bus_dma memory usage by driver

2011-10-25 Thread Chuck Tuffli
On Mon, Oct 24, 2011 at 8:38 PM, Matthew Jacob wrote: > > On 10/24/2011 5:21 PM, Chuck Tuffli wrote: >> >> Is there an easy way to determine the amount of bus_dma memory >> allocated by a driver? Something similar to vmstat -m >> > > bus_dma memory allocations are platform specific. Looking at lea

Re: determining bus_dma memory usage by driver

2011-10-24 Thread Artem Belevich
On Mon, Oct 24, 2011 at 5:21 PM, Chuck Tuffli wrote: > Is there an easy way to determine the amount of bus_dma memory > allocated by a driver? Something similar to vmstat -m > Would "devinfo -r" do? --Artem ___ freebsd-hackers@freebsd.org mailing list

Re: determining bus_dma memory usage by driver

2011-10-24 Thread Matthew Jacob
On 10/24/2011 5:21 PM, Chuck Tuffli wrote: Is there an easy way to determine the amount of bus_dma memory allocated by a driver? Something similar to vmstat -m bus_dma memory allocations are platform specific. Looking at least amd64 you can see that the memory is carved out M_DEVBUF. ___