Re: [patch] Real-Time Preemption, -RT-2.6.12-rc6-V0.7.48-00

From: Gene Heskett
Date: Mon Jun 27 2005 - 12:31:29 EST


On Monday 27 June 2005 04:17, Ingo Molnar wrote:
>* Gene Heskett <gene.heskett@xxxxxxxxxxx> wrote:
>> In the FWIW category, I booted 50-23 about an hour & a half ago,
>> same mode 3, no hardirq's, everything seems to be working fine
>> except for kmails total lack of threading causeing composer hangs
>> while a mail fetch/spamassassin run is in progress. But thats not
>> anything new to this patchset, its an equal opportunity annoyer.
>
>does the patch below make the kmail starvation go away?
>
I put in the comment and its building now. I rather doubt its going
to make a huge diff though as its probably the single most repeated
bitch on the kmail lists, and has been for a long, very long as in
years, time. From hints dropped here and there, it might finally be
fixed with kde-3.5. But we'll give this a shot nontheless. I'll add
more after I reboot to test.

Now rebooted.

I don't think its made a noticable difference, I'm still getting the
hangs of up to 30 seconds but I'll let it run the rest of the
afternoon so I get a better feel for it. It doesn't often miss a
keystroke, they will eventually be echoed back to the screen.

> Ingo
>
>Index: kernel/sched.c
>===================================================================
>--- kernel/sched.c.orig
>+++ kernel/sched.c
>@@ -1055,7 +1055,7 @@ static int try_to_wake_up(task_t * p, un
> /*
> * sync wakeups can increase wakeup latencies:
> */
>- if (rt_task(p))
>+// if (rt_task(p))
> sync = 0;
> #endif
> rq = task_rq_lock(p, &flags);

--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.35% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/