[lkml]   [2001]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: please revert bogus patch to vmscan.c

On Mon, 29 Oct 2001, Benjamin LaHaise wrote:
> I think it's far more expensive to pull a page back in from disk.

Note that _if_ the page is so often accessed that it stays in the TLB, it
won't ever hit the disk. We _will_ do a TLB invalidate when we unmap it,
and it will get re-mapped long before it's written out.

So it's more likely to result in extra soft-faults, but considering that
if the system is paging stuff out we'll almost certainly be doing enough
context switches that the thing doesn't matter.

And avoiding the extra TLB flush (for _every_ page scanned) is noticeable
according to Andrea.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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