Re: mmap inside kernel memory.

From: Rik van Riel (riel@conectiva.com.br)
Date: Sat Feb 08 2003 - 19:00:05 EST


On Sun, 9 Feb 2003, Jerome de Vivie wrote:

> "mmap" seems to be design for mapping file or device inside a process
> memory. Is it possible to map a file into the kernel virtual memory ?

In theory yes (using vmalloc space), but you really don't want to.

Rik

-- 
Bravely reimplemented by the knights who say "NIH".
http://www.surriel.com/		http://guru.conectiva.com/
Current spamtrap:  <a href=mailto:"october@surriel.com">october@surriel.com</a>
-
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/



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