Re: [PATCH] pci: show dma_mask bits in /sys

From: Grant Grundler
Date: Thu Oct 23 2008 - 15:37:19 EST


On Thu, Oct 23, 2008 at 08:39:23AM -0700, Greg KH wrote:
> On Thu, Oct 23, 2008 at 12:44:12AM -0600, Grant Grundler wrote:
> >
> > Lastly, /sys seems to have over run even /proc. On an rx2600 (ia64):
> > grundler@gsyprf3:/usr/src/linux-2.6$ find /sys ! -type d | wc
> > 6288 6296 264893
>
> Is this causing some kind of problem for your systems?

Nope. Just an observation on the "forest" (vs individual "trees").

> /sys shows far more information than /proc does, so of course it would
> be larger in quantity.

Yes - and /sys is better organized (hierarchial in general).
But it's getting harder to find stuff because there is so much now.
Any comments on adding DMA attributes (e.g. dma_mask_bits) to /sys?

Willy has objected and I'm waiting to hear if he's ok with limiting
this to a DEBUG compile time flag.

thanks,
grant
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/