lkml.org 
[lkml]   [2002]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] Futex Asynchronous Interface


    On Thu, 6 Jun 2002, Rusty Russell wrote:
    >
    > The method is: open /dev/futex

    STOP!

    What madness is this?

    You have a damn mutex system call, don't introduce mode crap in /dev.

    Do we create pipes by opening /dev/pipe? No. Do we have major and minor
    numbers for sockets and populate /dev with them? No. And as a result,
    there has _never_ been any sysadmin problems with either.

    You already have to have a system call to bind the particular fd to the
    futex _anyway_, so do the only sane thing, and allocate the fd _there_,
    and get rid of that stupid and horrible /dev/futed which only buys you
    pain, system administration, extra code, and a black star for being
    stupid.

    Linus

    -
    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:26    [W:2.860 / U:1.196 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site