Re: Externalize SLIT table

From: Matthew Dobson
Date: Tue Nov 09 2004 - 14:25:21 EST


On Wed, 2004-11-03 at 20:07, Andi Kleen wrote:
> On Thu, Nov 04, 2004 at 10:59:08AM +0900, Takayoshi Kochi wrote:
> > (3) all distances in one line like /proc/<PID>/stat
> >
> > % cat /sys/devices/system/node/node0/distance
> > 10 66 46 66
>
> I would prefer that.
>
> -Andi

That would be my vote as well. One line, space delimited. Easy to
parse... Plus you could easily reproduce the entire SLIT matrix by:

cd /sys/devices/system/node/
for i in `ls node*`; do cat $i/distance; done


-Matt

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