On Tue, 16 Jan 2007, David Brownell wrote: > > The ki_retry method is not supposed to do a put on the kiocb. > > The extra call to aio_put_req() causes memory corruption. > > (Note: This call was removed before, by patch as691, and then > > mysteriously re-introduced later.) > > I'm still not convinced on this one; I'll get back to you later > after I've had a chance to look at it again.
It's easy enough to test. Just run usb.c in async mode (with test 15 or 16, ISO), a couple of times. Try it with and without the patch. Without the patch, when I exit usb.c the first time I get a cache-corruption error. Re-running it and exiting causes a hard lock-up. But with the patch everything works okay. Alan Stern ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel