optimizing fs/select.c for n==0

From: Joel Reed (jreed@support.ddiworld.com)
Date: Thu Mar 23 2000 - 10:06:18 EST


In fs/select.c version 2.2.14 there is a comment in sys_select...

        /*
         * We ought to optimise the n=0 case - it is used enough..
         */
         
        if (n < 0)
                goto out_nofds;
        if (n > current->files->max_fdset)
                n = current->files->max_fdset;
                

but this comment is gone in 2.3.99pre2. would this no longer be
a useful optimization?

jr

-- 
------------------------------------------------------------------------
Joel W. Reed                              http://ruby.ddiworld.com/jreed
------------------Don't press the keys so darned hard!------------------

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:38 EST