Messages in this thread | | | Subject | Re: [PATCH 5/7] FUSE: implement ioctl support | From | Miklos Szeredi <> | Date | Thu, 28 Aug 2008 21:18:10 +0200 |
| |
On Thu, 28 Aug 2008, H. Peter Anvin wrote: > Tejun Heo wrote: > > > > Ah.... funky. If this retry thing is too repulsive, I guess the best > > alternative would be directly accessing caller's memory as Miklos suggested. > > > > Be careful -- there are some serious dragons there in the presence of > multiple threads.
OK, it should map /proc/pid/task/tid/mem. Or rather /proc/tid/task/tid/mem, as the pid (tgid) of the caller is not currently passed to the filesystem.
Miklos
| |