Re: Swap

Rik van Riel (riel@conectiva.com.br)
Tue, 20 Nov 2001 21:35:40 -0200 (BRST)


On Tue, 20 Nov 2001, David S. Miller wrote:
> From: Andrew Morton <akpm@zip.com.au>
> Date: Tue, 20 Nov 2001 14:23:38 -0800
>
> Could you please explain further? What's more expensive
> than the copy?
>
> TLB misses add to the cost, and this overhead is more than
> "noise".

Well, this could have something to do with the fact
that our page fault handler only maps in _1_ page at
a time, so we're trapping into the pagefault handler
every 4kB...

Rik

-- 
Shortwave goes a long way:  irc.starchat.net  #swl

http://www.surriel.com/ http://distro.conectiva.com/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/