Re: shared memory

From: Rafael Sisto
Date: Sun Dec 16 2007 - 15:01:27 EST


Thank you for the quick answer, but It's a college project, and I must
share user level memory. I also must build my own system calls...
But I can look what is already done and make something similar. Do you
think shmget would do? Does it share user level memory?

greetings!
Rafael Sisto

On Dec 16, 2007 4:57 PM, Luciano Rocha <luciano@xxxxxxxxxxx> wrote:
> On Sun, Dec 16, 2007 at 04:51:39PM -0300, Rafael Sisto wrote:
> > Hi, Im working on a project working on linux kernel 2.6.17
> > I have to share memory on user level... I have to build something like
> > a server process that "exports" a portion of his virtual memory, and
> > other client process may ask the kernel for that memory and use it (as
> > its own).
> > I managed to build a structure on the kernel.
>
> Why? Aren't SysV IPC or Posix IPC enough?
>
> See "man shm_open", for the new Posix version, and "man shmget" for the
> old SysV IPC version.
>
> --
> Luciano Rocha <luciano@xxxxxxxxxxx>
> Eurotux Informática, S.A. <http://www.eurotux.com/>
>
--
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/