Re: scheduler (sched_4bsd) questions
From: Julian Elischer (julian_at_elischer.org)
Date: 09/26/04
- Previous message: Stephan Uphoff: "Re: scheduler (sched_4bsd) questions"
- In reply to: Stephan Uphoff: "Re: scheduler (sched_4bsd) questions"
- Next in thread: Peter Holm: "Re: scheduler (sched_4bsd) questions"
- Reply: Peter Holm: "Re: scheduler (sched_4bsd) questions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 25 Sep 2004 20:50:45 -0700 To: Stephan Uphoff <ups@tree.com>
Stephan Uphoff wrote:
>>Maybe something brutal like:
>> if ((curthread->td_ksegrp == kg) &&
>> (td->td_priority > curthread->td_priority))
>> curthread->td_flags |= TDF_NEEDRESCHED;
>>
>>in setrunqueue for
>>the else case of "if (kg->kg_avail_opennings > 0)"
>>would do the trick (without preemption) for the easy but probably more
>>common cases?
>>
>>Maybe I can find some time next week to think about a clean
>>fix. I find it always helpful having a small task in mind while reading
>>source code.
>
>
> I wrote a fix that should cover all cases.
> However I would like to test it a little bit before posting the patch.
> Is there any multi-threaded kernel torture program that you can
> recommend?
Peter Holm (CC'd) has a really cool set of torture tests.
he has also seen all sorts of failures others have not (yet) triggered. :-)
I'm 'busy" for the next couple of weeks so you may want to communicate directly
with him and see if you and he together can figure out some of the things he's
been seeing :-)
his tests are at:
http://www.holm.cc/stress/src/stress.tgz
>
> Thanks
>
> Stephan
>
_______________________________________________
freebsd-arch@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Stephan Uphoff: "Re: scheduler (sched_4bsd) questions"
- In reply to: Stephan Uphoff: "Re: scheduler (sched_4bsd) questions"
- Next in thread: Peter Holm: "Re: scheduler (sched_4bsd) questions"
- Reply: Peter Holm: "Re: scheduler (sched_4bsd) questions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: Word lost dictionary after minor OS update to 10.4.11
... I wouldn't call it "common". ... And there is a fix on the way: ...
Coincidently Entourage lost my settings and e-mail account info. ... Maybe other Office
components lost prefs & settings as well? ... (microsoft.public.mac.office.word) - Re: Word 2007
... seems to be common among purchasers of Office Student and Home 2007, ...
encountering this problem can find out how to fix it, ... My Office 2007 installation
will not use its spell checker at all...and I ... (microsoft.public.office.misc) - Re: [PATCH 17/20] SMP: Implement on_cpu()
... I'm not sure what you mean by "fix" here, ... target CPU, we're preempted
out and then get rescheduled ... proposed changed semantics) and notice that we've landed
... So you disable preemption before calling smp_call_function_single. ... (Linux-Kernel) - Re: Root Certificate
... Is it the fact that the common name is different why I am experiencing these ...
Is there anything I can do on the client end to fix this? ... Are the updates to
Entourage to fix some of these issues coming in an update ... we don't have support for comparing
IP addresses in subject ... (microsoft.public.mac.office.entourage) - Re: Root Certificate
... > Is it the fact that the common name is different why I am experiencing these ...
> swamped and they promised to look at it but couldn't guarantee a fix. ... > Are
the updates to Entourage to fix some of these issues coming in an update ... (microsoft.public.mac.office.entourage)