From: Chris Zankel <chris@zankel.net>
To: davem@davemloft.net
Cc: linux-kernel@vger.kernel.org
Subject: Cache Aliasing
Date: Thu, 16 Mar 2006 12:38:37 -0800 [thread overview]
Message-ID: <4419CCCD.8070208@zankel.net> (raw)
Hi,
I am stuck trying to figure out why the sparc64 implementation for cache
aliasing actually works:
From my understanding, any kernel (or driver) function can
allocate/free pages with __page_alloc() / free_page(). I couldn't find
any place, however, where the cache is flushed in either case, so there
might be some residue in the cache.
During allocation of user pages, the sparc64 implementation might
temporarily map that page to a cache-coherent location (TLBTEMP_BASE+x)
for {clear|copy}_user_page. At that time, however, couldn't there still
be dirty lines in the other 'half' of the cache from the previous kernel
allocation?
I'd appreciate any direction where I could find more information about
this scenario or where I should look in the kernel code.
Thanks,
-Chris
next reply other threads:[~2006-03-16 20:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-16 20:38 Chris Zankel [this message]
2006-03-16 22:39 ` Cache Aliasing David S. Miller
-- strict thread matches above, loose matches on Subject: below --
2003-02-25 7:24 Cache aliasing John Newlin
2003-02-26 3:59 ` David S. Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4419CCCD.8070208@zankel.net \
--to=chris@zankel.net \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.