From: "Santosh Abraham" <santosha@india.hp.com>
To: <parisc-linux@lists.parisc-linux.org>
Subject: [parisc-linux] Fwd: Problems with raw interface.
Date: Thu, 25 Sep 2003 16:08:55 +0530 [thread overview]
Message-ID: <000701c38351$3907ada0$e5624c0f@india.hp.com> (raw)
The problem seems to be with the flush_dcache_page () routine in
asm-parisc/pgalloc.h. The routine does not handle the case when
page->mapping == NULL. It simply ends up calling __flush_dcache_page ()
which only flushes out the cache lines corresponding to the kernel VA.
The cache lines corresponding to the user VA remain unaffected. In order
for
the user cache lines to be flushed a call to flush_cache_page () or
flush_user_dcache_range ()
must be made.
In order to do this the flush_dcache_page () interface may need to be
modified to take in a user VA as an argument.
If this is not feasible we could as a hack check for page->mapping == NULL
in flush_dcache_page () and call flush_data_cache(). This would be very
expensive.
Also, does'nt __flush_dcache_page () need to have a for loop for "i_mmap"
similar to the one for "i_mmap_shared" ?
thanks,
santosh.
next reply other threads:[~2003-09-25 10:38 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-25 10:38 Santosh Abraham [this message]
2003-09-25 10:50 ` [parisc-linux] Fwd: Problems with raw interface Randolph Chung
2003-09-25 11:19 ` Santosh Abraham
2003-09-25 14:26 ` Matthew Wilcox
2003-09-26 1:08 ` David S. Miller
2003-09-26 11:24 ` Matthew Wilcox
2003-09-26 11:20 ` David S. Miller
2003-09-26 11:57 ` Stephen C. Tweedie
2003-09-26 11:48 ` David S. Miller
2003-09-26 12:20 ` Matthew Wilcox
2003-09-26 12:38 ` David S. Miller
2003-09-26 13:11 ` SANTOSH ABRAHAM
2003-09-26 12:56 ` David S. Miller
2003-09-26 13:29 ` Matthew Wilcox
2003-09-26 13:21 ` David S. Miller
2003-09-26 14:09 ` Matthew Wilcox
2003-09-26 14:04 ` David S. Miller
2003-09-26 14:30 ` Matthew Wilcox
2003-09-26 14:20 ` David S. Miller
2003-09-26 14:42 ` Stephen C. Tweedie
2003-09-26 14:26 ` Stephen C. Tweedie
2003-09-26 11:47 ` Santosh Abraham
2003-09-26 10:42 ` Santosh Abraham
2003-09-26 10:34 ` David S. Miller
2003-09-26 12:12 ` Santosh Abraham
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='000701c38351$3907ada0$e5624c0f@india.hp.com' \
--to=santosha@india.hp.com \
--cc=parisc-linux@lists.parisc-linux.org \
--cc=santosh.abraham@hp.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox