Re: mmap inside kernel memory.

From: Jerome de Vivie (
Date: Sun Feb 09 2003 - 08:43:31 EST

Rik van Riel wrote:
> On Sun, 9 Feb 2003, Jerome de Vivie wrote:
> > Here, do_mmap check if the addresse match inside current process and
> > return me -ENOMEM. Are there others functions which i could use to
> > associate this file and a vmalloc'ed space ?
> As I said, you don't want to mmap a file in kernel memory.
> You only have 128 MB of vmalloc space and you don't want to
> waste it.
> If you know which addresses within the file you want to
> access, why don't you access them through the page cache
> functions ?

Ok. I will go through the page cache.



Jérôme de Vivie
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

This archive was generated by hypermail 2b29 : Sat Feb 15 2003 - 22:00:22 EST