lkml.org 
[lkml]   [2000]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: kqueue microbenchmark results
    On Wed, Oct 25, 2000 at 09:40:53PM +0200, Jamie Lokier wrote:
    > Simon Kirby wrote:
    > > And you'd need to take the descriptor out of the read() set in the
    > > select() case anyway, so I don't really see what's different.
    >
    > The difference is that taking a bit out of select()'s bitmap is
    > basically free. Whereas the equivalent with events is a bind_event()
    > system call.

    With the caveat that kevent() will take a changelist at the same time
    that it returns an eventlist, so while you do incur some kernel processing
    to temporarily disable the descriptor, the system call is essentially
    free.
    --
    Jonathan
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 12:45    [W:0.020 / U:0.528 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site