About the coherence of the D-cache

"Durantez, Marc" <[email protected]>
Newsgroups org.kernel.vger.ultralinux
Message-ID <marc-linux-ultrasparc-94789462417593@msgid-missing>
I am accessing user-space memory from the network bottom-half using
ASI_PHYS_USE_EC. I copied quite a bit from arch/sparc64/kernel/ptrace.c and
everything looks fine. 

Nevertheless I want to be sure that when I write data no stalled data is left on
the D-cache.

In the normal use of ptrace functions, I think there isn't data from in traced
process on the primary cache so there is no problem. But in my case, it is very
possible that the data I am reading/writing is there. I whould even want to
read/write it directly...

So which is the opinion of the master hackers?


Marc
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.