On 08-Jul-2002 Peter Wemm wrote:
> 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.
Hahahaha!
Glad to see you have fixed them. :)
--
John Baldwin <[EMAIL PROTECTED]> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!" - http://www.FreeBSD.org/
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message