Re: Badness in sleep_on_timeout on kernel 2.6.9-1.667 ( fedora core 3)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2/8/06, anil dahiya <[email protected]> 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 <[email protected]> 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/
>
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux