lkml.org 
[lkml]   [2002]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] Futex Generalization Patch
Date
In message <20020410211348.AB5E93FE06@smtp.linux.ibm.com> you write:
> --) There is more overhead in the wakeup and the wait because I need to
> move from the fd to the filestruct which is always some lookup and
> I have to verify that the file descriptor is actually a valid /dev/futex
> file (yikes).

Hmmm... verify on the FUTEX_AWAIT: you can maybe hold the struct file
directly (or maybe not).

> In FUTEX_AWAIT inteprest it as { short fd, short sig };
> There should be no limitation by casting it to shorts ?

No, that's bad. But I thought there was already a way to set what
signal occurred instead of SIGIO. Is that not per-fd?

Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:25    [W:0.036 / U:9.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site