From: Dave Hansen <haveblue@us.ibm.com>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: linux-mm <linux-mm@kvack.org>
Subject: Re: How best to bypass the page cache from within a kernel module?
Date: 17 Sep 2003 12:44:29 -0700 [thread overview]
Message-ID: <1063827869.13097.124.camel@nighthawk> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0309171402370.1171-100000@ida.rowland.org>
On Wed, 2003-09-17 at 11:24, Alan Stern wrote:
> However, all that seems rather roundabout. An equally acceptable solution
> would be simply to invalidate all the entries in the page cache referring
> to my file, so that reads would be forced to go to the drive. Can anyone
> tell me how to do that?
Whatever you're trying to do, you probably shouldn't be doing it in the
kernel to begin with. Do it from userspace, it will save you a lot of
pain.
--
Dave Hansen
haveblue@us.ibm.com
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
next prev parent reply other threads:[~2003-09-17 19:44 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-17 18:24 Alan Stern
2003-09-17 19:44 ` Dave Hansen [this message]
2003-09-17 19:50 ` William Lee Irwin III
2003-09-17 20:33 ` Alan Stern
2003-09-17 20:40 ` William Lee Irwin III
2003-09-17 20:43 ` William Lee Irwin III
2003-09-17 21:30 ` Alan Stern
2003-09-17 22:44 ` William Lee Irwin III
2003-09-22 18:51 ` Ray Bryant
2003-09-22 19:09 ` Alan Stern
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=1063827869.13097.124.camel@nighthawk \
--to=haveblue@us.ibm.com \
--cc=linux-mm@kvack.org \
--cc=stern@rowland.harvard.edu \
/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