In a computer system having different memory address spaces, for example,
user space and kernel space, a method and system is provided for
communicating data. A data structure is defined in the kernel space to
store data. The data structure is virtually mapped to an application in
user space such that the application can access the data structure
through virtual memory addresses. By directly accessing the data
structure, data transfers between the address spaces using system calls
and/or interrupts can be reduced.