lkml.org 
[lkml]   [2008]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 5/7] FUSE: implement ioctl support
From
Date
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


\
 
 \ /
  Last update: 2008-08-28 21:21    [W:0.050 / U:3.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site