Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Feb 2003 23:53:42 -0800
From:      Alfred Perlstein <bright@mu.org>
To:        hackers@freebsd.org
Subject:   rfc, optimizing select/poll.
Message-ID:  <20030216075342.GD93252@elvis.mu.org>

next in thread | raw e-mail | index | archive | help
please include me on cc' as I'm not subscribed to this list.

I'm thinking about doing some more work on select/poll for freebsd.

The gist of my changes would be two modifications.

1)  when select has to allocate space via malloc, cache it in the
    proc struct to avoid dipping into malloc on future calls.

2)  get rid of select collisions.  now that we have the tracking
    of the selinfo structs, we can actually allocate then ahead
    of time and hang them off of the selinfo in the objects, this
    would have some memory overhead, but get rid of the collision
    problem.

So, what I'm asking is...

Can anyone state ahead of time why they would object to this?
  (please reply publically)

Who will test it?
  (privately plz)

Thanks!
-- 
-Alfred Perlstein [alfred@freebsd.org]
'Instead of asking why a piece of software is using "1970s technology,"
 start asking why software is ignoring 30 years of accumulated wisdom.'

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030216075342.GD93252>