From: Gaurav Dhiman <gauravd.chd@gmail.com>
To: anil dahiya <ak_ait@yahoo.com>
Cc: David Woodhouse <dwmw2@infradead.org>,
linux-kernel@vger.kernel.org, kernelnewbies@nl.linux.org
Subject: Re: Badness in sleep_on_timeout on kernel 2.6.9-1.667 ( fedora core 3)
Date: Wed, 8 Feb 2006 12:10:53 +0530 [thread overview]
Message-ID: <d63eb2da0602072240t376e6312l3d6e7d7936024ee1@mail.gmail.com> (raw)
In-Reply-To: <20060208055426.76961.qmail@web60215.mail.yahoo.com>
On 2/8/06, anil dahiya <ak_ait@yahoo.com> wrote:
> then which function i should use...beacause same
> problem is with interruptible_sleep_on
prefer to use wait_event_timeout() ; see its code in kernel.
Its written fro handling race conditions, which might occur in
interruptible_sleep_on() or other such functions.
-Gaurav
> thanks & Regards,
> anil
>
> --- David Woodhouse <dwmw2@infradead.org> wrote:
>
> > On Tue, 2006-02-07 at 12:00 -0800, anil dahiya
> > wrote:
> > > Badness in sleep_on_timeout at
> > kernel/sched.c:3022
> > > [<02302bc3>] sleep_on_timeout+0x5d/0x23a
> > > [<0211b919>] default_wake_function+0x0/0xc
> > >
> > > can any suggest how i can avoid this oops.
> >
> > Stop using sleep_on_timeout(). It's almost certainly
> > buggy.
> >
> > --
> > dwmw2
> >
> >
> > --
> > Kernelnewbies: Help each other learn about the Linux
> > kernel.
> > Archive:
> > http://mail.nl.linux.org/kernelnewbies/
> > FAQ: http://kernelnewbies.org/faq/
> >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive: http://mail.nl.linux.org/kernelnewbies/
> FAQ: http://kernelnewbies.org/faq/
>
>
next prev parent reply other threads:[~2006-02-08 6:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-07 20:00 anil dahiya
2006-02-07 21:50 ` David Woodhouse
2006-02-08 5:54 ` anil dahiya
2006-02-08 6:40 ` Gaurav Dhiman [this message]
2006-02-12 13:17 ` Arjan van de Ven
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=d63eb2da0602072240t376e6312l3d6e7d7936024ee1@mail.gmail.com \
--to=gauravd.chd@gmail.com \
--cc=ak_ait@yahoo.com \
--cc=dwmw2@infradead.org \
--cc=kernelnewbies@nl.linux.org \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®