Re: How does bsd deal with architectures that have cache aliasing?

Andrew Brown <[email protected]>
Newsgroups gmane.os.netbsd.devel.ports,gmane.os.netbsd.devel.general
Message-ID <[email protected]>
>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" >-----|
[email protected]             * "ah!  i see you have the internet
[email protected] (Andrew Brown)                that goes *ping*!"
[email protected]       * "information is power -- share the wealth."
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.