Piotr Ziêcik wrote: > Friday 26 June 2009 16:01:17 Scott Long napisa³(a): >> Tags and maps should be allocated at driver initialization time, not >> every time a request comes in. The problem here isn't the MAX() test, >> it's that the MIN_ALLOC_COMP test is getting fooled because the tag >> keeps on getting recycled. The correct fix is likely to move the flag >> into the bounce zone object. But in general, you should not be >> allocating and freeing tags and maps so often, they are meant to have a >> long lifespan. >> > > I have fixed my driver and updated patch for bus_dma. Could I ask you for > review ? Patch was successfully tested on ARM. > This looks reasonable. I'll give it a closer review and commit it to the FreeBSD repo. Thanks a lot for working on it. ScottReceived on Tue Jun 30 2009 - 18:36:09 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:50 UTC