Re: scheduler (sched_4bsd) questions
From: Peter Holm (peter_at_holm.cc)
Date: 09/26/04
- Previous message: Julian Elischer: "Re: scheduler (sched_4bsd) questions"
- In reply to: Julian Elischer: "Re: scheduler (sched_4bsd) questions"
- Next in thread: Stephan Uphoff: "Re: scheduler (sched_4bsd) questions"
- Reply: Stephan Uphoff: "Re: scheduler (sched_4bsd) questions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 26 Sep 2004 09:52:18 +0200 To: Julian Elischer <julian@elischer.org>
On Sat, Sep 25, 2004 at 08:50:45PM -0700, Julian Elischer wrote:
> 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
> >
I'll be glad to test any patches.
-- Peter Holm _______________________________________________ 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: Julian Elischer: "Re: scheduler (sched_4bsd) questions"
- In reply to: Julian Elischer: "Re: scheduler (sched_4bsd) questions"
- Next in thread: Stephan Uphoff: "Re: scheduler (sched_4bsd) questions"
- Reply: Stephan Uphoff: "Re: scheduler (sched_4bsd) questions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: scheduler (sched_4bsd) questions
... On Mon, 2004-10-04 at 14:49, Peter Holm wrote: ... >> that has priority.
... > I'm not closer to being able to create this panic in a controlled way. ...
Shouldn't be to hard to fix but I am burned out today :-(. ... (freebsd-arch) - Re: panic: mb_dtor_pack: ref_cnt != 1
... thanks to Danny Braniss and Peter Holm the KASSERT is working now. ...
> Very fast fix. ... (freebsd-current)