[PATCH 7/8] ppc64: SPU file system
Benjamin Herrenschmidt
benh at kernel.crashing.org
Sun May 15 22:02:28 EST 2005
> > ioctl's are generally considered evil ... what about a write() method
> > writing a command ?
>
> That's even more evil than ioctl()... Try doing 32-vs-64bit conversion
> on write...
I don't see the problem ... if you are passing a structure, you have to
convert it anyway, and it's bad practice. I was thinking about passing
ascii so it can be controlled by shell scripts.
Ben.
More information about the Linuxppc64-dev
mailing list