[lkml]   [2000]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Purging the Page Table (was: Purging the Buffer Cache)
--- Juri Haberland <>
> 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

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

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,

Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:52    [W:0.188 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site