[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Yet another set of VM questions
Hi all,
1. Regarding non-contiguous memory allocation, what is the need to have
*virtually* contiguous but not *physically* contiguous pages?
2. UtLVMM says that vmalloc is only used in the kernel for storing swap
information - yet it's used by a bunch of drivers which are
considered part of the kernel; is it just semantics?
3. Is vmalloc called from user-mode ever?
4. What is the difference between kmalloc, malloc, and vmalloc?
5. Anonymous memory is memory that is *not* backed by a file, such as
the stack or heap space, right? And mmap is called when mapping
files into memory, right? The why does mmap deal with anonymous
memory (sorry, I'm totally confused here)?
Thanks,
Kirk
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/