Re: cache clearing from keeping code and data in the same segment
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=k/Rwwg0ES/OTL65Dm6N9UJ+Kmoe/z82zbfU7/5u4B1I=; b=Klkirc2zDQF569bkN3i3iq5OVho1QRIG6ndBJ9wIOX5tLRk7Q3sTJDsBpe+zNKZUD7 x1agg67Xd7AHM6pqJRpDkznrCUSzR7/XXtF1UMpU3Ig7kVf/jY/8fMNK9kZi/b/5hrY9 Riba2Ujw4x4dPwI+wr98PchOOT329+PXT2eao= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=H54qeXdczWjw3KGT7uh8ohuKiCr9vq/0lt8oOC6Dj8WpbyLmRm8KooVfzMX8svFMCG j71oduCDNkl2vIGJtoB90+uLFLWUnxhQFXGWBwfJURBEUrYfZGsowDitGh7pvZHX5lZo yOmW1Oqe0wTBHmbgG9DPQJU8EPONVLgebeg8s= On Jan 19, 2009, at 12:25 PM, Jonas Maebe wrote: --- http://twitter.com/wagerlabs _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... Keeping code and read/write data close to each other (putting them in the same segment may qualify) may result in the icache getting invalidated on data writes (to deal with self-modifying code), [...] Such flushing, if any, would performed by the cpu though, the OS has no influence over that. So you are saying that this is a function of the CPU as opposed to the OSX itself? I am dealing with self-modifying code (Forth), although I'm willing to trade certain things for performance. This email sent to site_archiver@lists.apple.com
participants (1)
-
Joel Reymont