Re: mmap() versus read()

Rik van Riel (H.H.vanRiel@fys.ruu.nl)
Wed, 11 Mar 1998 11:18:52 +0100 (MET)


On Tue, 10 Mar 1998, Perry Harrington wrote:

> I looked it over, it appears that this could benefit from pre-zeroed pages
> of RAM. Solaris incidentally has a kernel thread which does defragmentation
> and cleaning of system pages in the background. Ideally if this were
> implemented, it could clean up a lot of other things and make them a lot
> faster. Perhaps kswapd could do this???

It could do it. Instead of swapping out pages, it should swap
out a page to another (small fragment) place of memory, in the
hope of freeing up large free chunks :-)
But when Ben and Stephen are finished with their plans, I don't
think we'll need to do that...
(if, OTOH, their changes don't make it into 2.2, I'll code up
the inefficient change I just proposed :-( )

Rik.
+-------------------------------------------+--------------------------+
| Linux: - LinuxHQ MM-patches page | Scouting webmaster |
| - kswapd ask-him & complain-to guy | Vries cubscout leader |
| http://www.fys.ruu.nl/~riel/ | <H.H.vanRiel@fys.ruu.nl> |
+-------------------------------------------+--------------------------+

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu