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 <ak_ait@xxxxxxxxx> 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@xxxxxxxxxxxxx> 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/
>
>

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux