Re: [patch 09/11] GRU Driver - /proc interfaces

From: Roland Dreier
Date: Tue Jun 10 2008 - 10:20:48 EST


> AFAICT, this is not a format that is compatible with the /sys guidelines of 1 value
> per file.
>
> A system can have 1000's of GRU chiplets. Having separate collection of files for
> each set of metrics is clumsy. What other drivers have similar issues. I'll
> gladly copy whatever makes sense.

I guess the closest parallel would be networking, where you might have
1000s of routes etc. So maybe netlink is your best bet.

- R.
--
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/