[lkml]   [2002]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] Futex Generalization Patch
In message <> 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?

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
More majordomo info at
Please read the FAQ at

 \ /
  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