RE: Clarification required about select vs wake_up race condition

2007-03-14 Thread Ravinandan Arakali \(rarakali\)
] Sent: Wednesday, March 14, 2007 10:08 AM To: Ravinandan Arakali (rarakali) Cc: Linux Kernel Subject: Re: Clarification required about select vs wake_up race condition On 12/03/07, Ravinandan Arakali (rarakali) <[EMAIL PROTECTED]> wrote: > Hi, > I am facing following problem and was

Re: Clarification required about select vs wake_up race condition

2007-03-14 Thread Dmitry Adamushko
On 12/03/07, Ravinandan Arakali (rarakali) <[EMAIL PROTECTED]> wrote: Hi, I am facing following problem and was wondering if somebody could help me out. Our char driver(pretty much like all other char drivers) does a poll_wait() and returns status depending on whether data is available to be read

RE: Clarification required about select vs wake_up race condition

2007-03-14 Thread Ravinandan Arakali \(rarakali\)
EMAIL PROTECTED] Sent: Wednesday, March 14, 2007 4:08 AM To: Ravinandan Arakali (rarakali) Cc: linux-kernel@vger.kernel.org Subject: Re: Clarification required about select vs wake_up race condition On Mon, 2007-03-12 at 12:44 -0700, Ravinandan Arakali (rarakali) wrote: > Hi, > I am facing

Re: Clarification required about select vs wake_up race condition

2007-03-14 Thread Arjan van de Ven
On Mon, 2007-03-12 at 12:44 -0700, Ravinandan Arakali (rarakali) wrote: > Hi, > I am facing following problem and was wondering if somebody could help > me out. > Our char driver(pretty much like all other char drivers) does a > poll_wait() you forgot to include your (full) sourcecode or a point

Clarification required about select vs wake_up race condition

2007-03-12 Thread Ravinandan Arakali \(rarakali\)
Hi, I am facing following problem and was wondering if somebody could help me out. Our char driver(pretty much like all other char drivers) does a poll_wait() and returns status depending on whether data is available to be read. Even though some data is available to be read(verified using one of o