[PATCH 7/8] ppc64: SPU file system
Andi Kleen
ak at muc.de
Sun May 15 21:24:13 EST 2005
Greg KH <greg at kroah.com> writes:
>
> No, as Ben said, do not do this. Use write. And as you are only doing
> 1 type of ioctl, it shouldn't be an issue. Also it will be faster than
> the ioctl due to lack of BKL usage :)
The problem is that if something is wrong regarding 32bit/64bit
compatibility (I am not saying Arnd will get it wrong, but
for a general rule someone will get it wrong and it has happened, e.g.
in ubsfs) then it is impossible to do any compat emulation
on read/write.
So I would actually prefer ioctl because it is sfer.
-Andi
More information about the Linuxppc64-dev
mailing list