A few months ago, I had a bit of a disaster with some pmap optimizations.
After committing, all hell broke loose.  It was backed out completely.

I finally found the problem (diff cleaned up to highlight the problem):

pmap_mapdev()
...
        for (tmpva = va; size > 0; ) {
                pte = vtopte(tmpva);
                *pte = pa | PG_RW | PG_V | pgeflag;
                size -= PAGE_SIZE;
                tmpva += PAGE_SIZE;
-               pa += PAGE_SIZE;
        }
        invltlb();

Excuse me while I go outside and shoot myself.

Cheers,
-Peter
--
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
"All of this is for nothing if we don't go to the stars" - JMS/B5


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to