lkml.org 
[lkml]   [2003]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: mmap inside kernel memory.
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 ?

regards,

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/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.065 / U:25.584 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site