Updated switch/glue patch?

Adrian Chadd adrian at freebsd.org
Mon Dec 19 06:56:23 UTC 2011


On 18 December 2011 22:42, Warner Losh <imp at bsdimp.com> wrote:

>> It's still ridiculously CPU intensive. :( It turns out trying to do
>> those locks three times one each GPIO IO line fiddle is a bit over the
>> top.
>
> That's the real problem.  WITNESS is a known pigdog on low-end systems, so measurements with it tend to skew the results a tad too much.  On the other hand, it did magnify the problem to the point it was fixed :)
>
> The insane locking should be fixed.

Yeah. I've done it in my local branch. Hopefully Stefan/I can thrash
this out a bit more and get it into the tree soon.

I wonder if I can fix up witness a little more. I already found some
insane string operations in the witness debugging code, which I've
since fixed.


Adrian


More information about the freebsd-embedded mailing list