[lkml]   [2002]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] Futexes IV (Fast Lightweight Userspace Semaphores)
    On Tuesday 26 March 2002 06:10 pm, Rusty Russell wrote:
    > In message <> you write:
    > > > And on top of them:
    > > > futex_down(struct futex *);
    > > > futex_up(struct futex *);
    > >
    > > Why not keep the simple one-sys-call interface for the fuxtexes. The
    > > code is so small that it is
    > > not worth to delete it.

    Rusty, you lost me in all these discussions now.
    Is the current position to export wait queues and drop the futex interface ?
    I would recommend against that. If we need 2 syscalls to implement
    the futex behavior that certainly will create quite some overhead.

    From my own implementation, I exported the wait queues and I didn't need the
    add/wait sequence. This as you know is/was due to the fact that I used
    semaphores in the kernel. While that created some allocation problems and
    won't allow for usage of the wait queues, it seems more compact.
    Any chance to move the semaphore behavior into the futexes.

    -- Hubertus Franke (
    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.023 / U:20.344 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site