From d24919a7fbc635bea6ecc267058dcdbadf03f565 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Tue, 6 Aug 2002 01:05:30 +0200 Subject: VM: Rework vmalloc code to support mapping of arbitray pages The vmalloc operation is split into two pieces: allocate the backing pages and map them into the kernel page tabels for virtually contingous access. (Same for vfree). A new set of interfaces, vmap & vunmap does only the second part and thus allows mapping arbitray pages into kernel virtual memory. The vmalloc.c internals have been completly overhauled to support this, but the exported interfaces are unchanged. --- kernel/ksyms.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kernel') diff --git a/kernel/ksyms.c b/kernel/ksyms.c index 006e1832a02e..ce387117ba18 100644 --- a/kernel/ksyms.c +++ b/kernel/ksyms.c @@ -109,6 +109,8 @@ EXPORT_SYMBOL(vfree); EXPORT_SYMBOL(__vmalloc); EXPORT_SYMBOL(vmalloc); EXPORT_SYMBOL(vmalloc_32); +EXPORT_SYMBOL(vmap); +EXPORT_SYMBOL(vunmap); EXPORT_SYMBOL(vmalloc_to_page); EXPORT_SYMBOL(mem_map); EXPORT_SYMBOL(remap_page_range); -- cgit v1.2.3