[Cbe-oss-dev] [RFC/PATCH 2/2] spufs: Add a "capabilities" file to spu contexts

Christoph Hellwig hch at lst.de
Fri Jun 1 05:35:15 EST 2007


On Fri, May 25, 2007 at 02:54:05PM +1000, Benjamin Herrenschmidt wrote:
> This adds a "capabilities" file to spu contexts consisting of a
> list of space separated capability names. The current exposed
> capabilities are "sched" (the context is scheduleable) and
> "step" (the context supports single stepping).

I don't like the handcrafted buffer printing.  The patch below does
a seq_file version instead.  This has one notable difference in the
output because it always prints an whitespace before the newline
at the end to keep the code simpler.  This should be perfectly fine
for any reasonable parser.




More information about the cbe-oss-dev mailing list