[PATCH 7/8] ppc64: SPU file system

Benjamin Herrenschmidt benh at kernel.crashing.org
Sun May 15 16:29:06 EST 2005


> Using a write call instead of read makes the interface even more
> complicated because it would require the user to read the status
> from a separate file after write returns to check what needs to
> be done and then use lseek() or yet another file to access the
> instruction pointer.

Why not just write(pc) to start and read back status from the same
file ?

Ben.





More information about the Linuxppc64-dev mailing list