Gartner: Apache is vulnerable, we recommend switching back to IIS to protect yourselves ----- Original Message ----- From: "Peter Wemm" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 08, 2002 2:28 PM Subject: Remember my ill-fated i386 smp pmap optimizations?
> 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 sorry for a bit OT, but why are pmap_mapdev and pmap_unmapdev still using old C language parameter style? I saw other functions in pmap using ANSI C style. David Xu To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message