From: "Anjali Kulkarni" <anjali@indranetworks.com>
To: mingo@elte.hu, Anjali Kulkarni <anjali@indranetworks.com>,
linux-kernel@vger.kernel.org
Subject: Re: scheduler problems
Date: Wed, 12 Jun 2002 00:14:09 -0700 [thread overview]
Message-ID: <200206120714.AAA07894@eagle.he.net> (raw)
> (given that the current 2.2 kernel is 2.2.21, the first thing would
be to
> test it there too.)
>
Thanks, I 'll do that.
> > [...] It is due to the fact that the schedule() function does not
find
> > the 'current' process in the runqueue. [...]
>
> a crash in line 384 means that the runqueue got corrupted by
something,
> most likely caused by buggy kernel code outside of the scheduler.
Right, I thought of that, but how is it that it gets corrupt at exactly
the same offset in task_struct of that process and every time with
different processes? (I have run it atleast 20-30 times). And it just
doesnt come if I kill the process in question? (I couldnt kill kupdate,
and hence it comes anyways). And I have checked the task_struct of that
process, the next_task & prev_task & other fields are not corrupted.
Ofcource, it's still possible, like if the memory allocated & freed by
my code is then used by scheduler for allocating task_struct; and then
it is accessed again by mistake by my code at the same offset.
But you feel sure it's a run queue corruption problem, and not anything
else? If so, is there any particular way to debug this?
> > Can anyone tell me what's happening here? My kernel module is no
way the
> > cause of any of this. [...]
>
> does it happen if you do not run your kernel module after bootup,
ever?
No, it does not:(
Thanks,
Anjali
>
> Ingo
>
>
Anjali Kulkarni
Software Engineer
Indra Networks
~Living Well is the best Revenge~
next reply other threads:[~2002-06-12 7:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-12 7:14 Anjali Kulkarni [this message]
2002-06-12 10:20 ` scheduler problems Richard Zidlicky
-- strict thread matches above, loose matches on Subject: below --
2002-06-13 5:38 Anjali Kulkarni
2002-06-12 5:20 Anjali Kulkarni
2002-06-12 6:20 ` Ingo Molnar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200206120714.AAA07894@eagle.he.net \
--to=anjali@indranetworks.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.