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

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

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

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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