lkml.org 
[lkml]   [2005]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: select() for delay.
    From
    Date
    On Sun, 2005-10-30 at 20:06 +0100, Arnd Bergmann wrote:
    > On Maandag 24 Oktober 2005 12:55, madhu.subbaiah@wipro.com wrote:
    >
    > > This is regarding select() system call.
    > >
    > > Linux select() man page mentions " Some code calls select with all
    > > three sets empty, n zero, and a non-null timeout as a fairly portable
    > > way to sleep with subsecond precision".
    >
    > When you make a change to a system call, you should always check
    > if the change makes sense for the 32 bit emulation path as well.
    >
    > In this case, you should definitely do the same thing to both
    > sys_select and compat_sys_select if this is found worthwhile.
    >
    > > This patch improves the sys_select() execution when used for delay.
    >
    > Please describe what aspect of the syscall is improved. Is this only
    > speeding up the execution for the delay case while slowing down
    > the normal case, or do the actual semantics improve?

    there is something funky about increasing the speed of a delay ;)

    -
    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-10-30 20:15    [W:0.027 / U:89.304 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site