Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: zero filling pages



On Thursday, July 24, 2003, at 02:34 PM, Nat! wrote:

Actually the time expended because of zero filling is more than Shark will tell you, because the zero fill routine (as I wrote before) not only wastes the 4K of data cache but also 4K of instruction cache.

The semantics of the icbi instruction are roughly "The data at the effective address has changed, so if there is a copy in icache, remove it". The "if" means that the second loop in pmap_zero_page should only zap icache if the zeroed page formerly contained executable code that had been used recently enough to still be in icache.
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.
References: 
 >Re: zero filling pages (From: Nat! <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.