Skip to contentSkip to conversation

Kernel-User shared buffer

DISCUSSION Peter Chubb 1 participant 1 message Mar 9, 2004 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"john" == john moser <[email protected]> writes:

john> Hi. I'm trying to create a shared buffer for realtime john> communication between the kernel and a userspace application. john> All allocation is done for the userspace task in the kernel, and john> the kernel is to write to the ram from within syscalls made by john> other processes.

It's easier to go the other way. Get your application to map the buffer from a filesystem that you provide. See, e.g., the code in arch/ia64/kernel/perfmon.c.

--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au The technical we do immediately, the political takes *forever*