Date: Sun, 07 Jul 2002 23:28:54 -0700 From: Peter Wemm <peter@wemm.org> To: current@freebsd.org Subject: Remember my ill-fated i386 smp pmap optimizations? Message-ID: <20020708062855.02DE03808@overcee.wemm.org>
next in thread | raw e-mail | index | archive | help
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 - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020708062855.02DE03808>