reg: Using mmap in 2.0.32 kernel..

From: MOHAMMED AZAD (mohammedazad@nestec.net)
Date: Tue Jan 02 2001 - 07:26:36 EST


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/



This archive was generated by hypermail 2b29 : Sun Jan 07 2001 - 21:00:12 EST