Subject: Re: How does bsd deal with architectures that have cache aliasing?
To: John Newlin <jnewlin@tsoft.com>
From: Andrew Brown <atatat@atatdot.net>
List: tech-ports
Date: 02/28/2003 13:26:27
>If someone wouldn't mind pointing at the relevant pieces of the
>kernel that deals with cache aliasing for hardware that has
>this "feature" I would appreciate it. I just wanted to get
>the gist of how the BSD kernel deals with this issue.
if i understand your question, the answer is probably: look through
the kernel source for PMAP_PREFER(). that's the machine-dependent
hook into vm that attempts to align mappings for optimal cache effect.
--
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org * "ah! i see you have the internet
twofsonet@graffiti.com (Andrew Brown) that goes *ping*!"
werdna@squooshy.com * "information is power -- share the wealth."