Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Mar 2005 09:20:46 -0800
From:      Sam Leffler <sam@errno.com>
To:        Mike Silbersack <silby@silby.com>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/pci if_dc.c
Message-ID:  <422F306E.5040200@errno.com>
In-Reply-To: <20050309003804.J721@odysseus.silby.com>
References:  <200503082325.j28NPkY5032559@repoman.freebsd.org> <20050308194137.J811@odysseus.silby.com> <422E84E6.1030508@samsco.org> <20050309003804.J721@odysseus.silby.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?422F306E.5040200>