lkml.org 
[lkml]   [2002]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: AIO together with SMPtimers-A0 oops and freezing
On Mon, Aug 05, 2002 at 07:20:29PM +0200, Marc-Christian Petersen wrote:
> Hi Ben, Hi Ingo,

> Ben, I am using your AIO 20020619 patch + relevant fixes from the AIO
> mailinglist together with your patch Ingo, SMPtimers-A0.

Hmmm, the only problem I can see in the aio code wrt timer usage is
the following. Does this patch make a difference? If not, I'm guessing
that the problem is something in SMPtimers-A0 that aio happens to
trigger. The only timer aio uses is for the timeout when waiting for an
event, and the structure for that is put on the stack.

-ben


Index: aio.c
===================================================================
RCS file: /bcrl/cvs/CVSROOT/net-aio/linux/fs/aio.c,v
retrieving revision 1.13
diff -u -u -r1.13 aio.c
--- aio.c 6 Aug 2002 20:02:23 -0000 1.13
+++ aio.c 6 Aug 2002 20:04:40 -0000
@@ -774,8 +774,10 @@
goto out;

set_timeout(&to, &ts);
- if (to.timed_out)
+ if (to.timed_out) {
timeout = 0;
+ clear_timeout(&to);
+ }
}

while (likely(i < nr)) {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:22    [W:1.208 / U:6.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site