Re: select() for delay.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2005-10-30 at 20:06 +0100, Arnd Bergmann wrote:
> On Maandag 24 Oktober 2005 12:55, [email protected] 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux