Re: [uml-devel] [2.6.24.x] UML select()/poll() oversleeping reproducibly

2008-03-17 Thread Nix
On 17 Mar 2008, Jeff Dike verbalised: > Below is the same patch with another kluge, which cuts down the > requested sleep by 10% in hopes of getting the actual sleep closer to > what's wanted. Eew. :) > This is unusable in anything resembling mainline, but I'd like to see > how your various

Re: [uml-devel] [2.6.24.x] UML select()/poll() oversleeping reproducibly (was Re: g_timeout_add)

2008-03-17 Thread Jeff Dike
Below is the same patch with another kluge, which cuts down the requested sleep by 10% in hopes of getting the actual sleep closer to what's wanted. This is unusable in anything resembling mainline, but I'd like to see how your various systems react to it. I'm getting very close to the sleeps I a

[uml-devel] [PATCH] uml compile fixes

2008-03-17 Thread Alexander van Heukelum
Hi all, I need the following two changes to get my favourite uml config to compile (and run): make ARCH=um SUBARCH=i386 KCONFIG_ALLCONFIG=mini.config allnoconfig with mini.config: CONFIG_BINFMT_ELF=y CONFIG_BLK_DEV_INITRD=y CONFIG_INITRAMFS_SOURCE="../initramfs" CONFIG_EMBEDDED=y CONFIG_KALLSYMS

Re: [uml-devel] [PATCH] UML: Use newer, non-deprecated __SPIN_LOCK_UNLOCKED macro.

2008-03-17 Thread Jeff Dike
On Sat, Mar 15, 2008 at 12:57:29PM -0400, Robert P. J. Day wrote: > not compile tested, it seems pretty straightforward. Looks good to me... Jeff -- Work email - jdike at linux dot intel dot com -

Re: [uml-devel] [2.6.24.x] UML select()/poll() oversleeping reproducibly (was Re: g_timeout_add)

2008-03-17 Thread Jeff Dike
On Fri, Mar 14, 2008 at 11:01:35PM +, Nix wrote: > bash-3.2# ./select-sleep 10 > Slept for 13 seconds. See what kind of difference the patch below makes - it reduces the 30% oversleeping down to 10% for me. That's still way too much, but it's better. The problem being fixed here is that seti

Re: [uml-devel] [2.6.24.x] UML select()/poll() oversleeping reproducibly (was Re: g_timeout_add)

2008-03-17 Thread Jeff Dike
On Fri, Mar 14, 2008 at 11:01:35PM +, Nix wrote: > On a 1.4GHz Athlon IV using the tsc clocksource, I see consistent > oversleeps, but not enormous ones: > bash-3.2# ./select-sleep 10 > Slept for 13 seconds. I'm seeing the same thing with tickless disabled on current UML - stay tuned...