Re: shared memory

Rakesh Dubey (
Thu, 8 Aug 1996 12:42:41 -0700

> I have a buffer of reserved physical memory which is mmapped into a
> user process' address space. I would like to share this buffer
> between multiple processes (specifically with the X server via an
> XShmImage). Is there any mechanism in the kernel which could deal
> with this -- for example a way of specifying an address to something
> like shmget. If not, how would I go about patching my kernel to allow
> this? -- is it likely to be straightforward?
> Cheers, Ian

If it is not too much trouble, can you tell me how to map kernel
memory into a user process' address space? I am trying to write a
driver which could use this feature.