lkml.org 
[lkml]   [2001]   [Jan]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectreg: Using mmap in 2.0.32 kernel..
Date
Hi all,

I am trying to mmap some kernel ram into user space... These r the steps i
followed..

1) Allocate memory in kernel using get_free_pages..
2) reserve these pages using mem_map_reserve macro
3) In the mmap () implementation i use remap_page_range to export the buffer
to user space..


All this works well in kernel ver 2.2.14 but i am not getting it right in
2.0.32... any idea why???

thanks in advance

azad
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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