vmalloc and kiobuf questions ?

From: Rajeev Bector (rajeev_bector@yahoo.com)
Date: Wed Jul 18 2001 - 12:46:12 EST


MM Gurus,
  In trying to understand how to map driver
memory into user space memory, I have the following
questions:

1) Is there a limit to how much memory
   I can allocate using vmalloc() ?
   (This is regular RAM)
2) I want to map the vmalloc'ed memory
   to user space via mmap(). I've read
   that remap_page_range() will not do it
   and I have to do it using nopage
   handlers ? Is that true ? Is there
   a simple answer to why is that the case ?

3) I've also read the kiobufs will simplify
   all this. Is there a documentation on
   kiobufs - what they can and cannot do ?
   Are kiobufs part of the standard kernel
   now ?
Thanks in advance for your answers !

Rajeev

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
-
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 : Mon Jul 23 2001 - 21:00:11 EST