cvs commit: src/sys/pci if_dc.c

Sam Leffler sam at errno.com
Wed Mar 9 17:19:09 GMT 2005


Mike Silbersack wrote:
> 
> On Tue, 8 Mar 2005, Scott Long wrote:
> 
>> Yes, the hw.busdma tree has quite a bit of stats regarding bounce page
>> use.
>>
>> Scott
> 
> 
> Ah, I see that now.  As a followup, is there a way to force bouncing, as 
> a means of stressing situations like this one?  I checked the busdma 
> manpage quickly, but I didn't consult the source. :)
> 
> Maybe we should put all testing code under a STRESS_TEST define, kinda 
> like I have MBUF_STRESS_TEST hiding the mbuf fragmenting code at the 
> moment.

I find the STRESS_TEST ifdef pollution complicates the code 
unnecessarily.  The existing code feels like it belongs in a private 
branch and not in public CVS.

	Sam


More information about the cvs-src mailing list