Re: global memory access

From: Tommy Reynolds
Date: Sat Dec 04 2004 - 19:48:58 EST


Uttered Lan Xue <lanxue@xxxxxxxxxxxx>, spake thus:

> I was wondering how a user-level program can share a writable memory
> buffer with the kernel. The memory can either belongs to the kernel space
> or the user space, but both kernel module and user program should be able
> to access(read, write) it.

$ man 2 mmap

Cheers!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/