Re: is vmalloc ok in kernel?

Rik van Riel (H.H.vanRiel@fys.ruu.nl)
Tue, 10 Mar 1998 16:47:20 +0100 (MET)


On Tue, 10 Mar 1998, Kuti Gabor wrote:

> I started working on tmpfs and for this I need virtual mem, that can be
> swapped out. The question is, is vmalloc the function I'm looking for?

You should take a look at the code path of brk(), which
normal programs use.

> So in case of page fault mm does swap in my page, right?

The question is, will it swap your pages out :-)

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