public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Al Peat <al_kernel@yahoo.com>
To: linux-kernel@vger.kernel.org
Cc: myself <al_peat@yahoo.com>,
	Juri Haberland <juri.haberland@innominate.com>
Subject: Re: Purging the Page Table (was: Purging the Buffer Cache)
Date: Thu, 21 Dec 2000 17:16:52 -0800 (PST)	[thread overview]
Message-ID: <20001222011652.30206.qmail@web10101.mail.yahoo.com> (raw)

--- Juri Haberland <juri.haberland@innominate.com>
wrote:
> Al Peat wrote:
> > 
> >   Is there any way to completely purge the buffer
> > cache -- not just the write requests (ala 'sync'
> or
> > 'update'), but the whole thing?  Can I just call
> > invalidate_buffers() or destroy_buffers()?
>
> What about the ioctl BLKFLSBUF ?
> If you are running a SuSE distrib there is already a
> tool called flushb
> that does what you want. If not, you can download
> the simple tool from
> http://innominate.org/~juri/flushb.tar.gz

  Another question: what if I need to purge the page
table of all files as well?  Is there a clean way to
do that?  I've been looking at /mm/memory.c, but it
doesn't look like clear_page_tables, etc. get
exported.

  I need /all/ read requests to go to disk, and it'd
be nice if I could do that without a reboot (but I'll
take the reboot if that's the only way to go about it
:)

  Thanks again,
  	Al

__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

             reply	other threads:[~2000-12-22  1:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-22  1:16 Al Peat [this message]
2000-12-28  5:50 ` Purging the Page Table (was: Purging the Buffer Cache) Jamie Lokier

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=20001222011652.30206.qmail@web10101.mail.yahoo.com \
    --to=al_kernel@yahoo.com \
    --cc=al_peat@yahoo.com \
    --cc=juri.haberland@innominate.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox