[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ee3dc96c0712161201y34a3e3e0t601ab4fa73d002c@mail.gmail.com>
Date: Sun, 16 Dec 2007 17:01:17 -0300
From: "Rafael Sisto" <rafael.sisto@...il.com>
To: "Luciano Rocha" <luciano@...otux.com>,
"Rafael Sisto" <rafael.sisto@...il.com>,
"Linux kernel" <linux-kernel@...r.kernel.org>
Subject: Re: shared memory
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@...otux.com> 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@...otux.com>
> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists