Re: [PATCH, v3] shmat: introduce flag SHM_MAP_NOT_FIXED

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alan Cox
Date: Wednesday, October 8, 2008 - 1:33 am

> Perhaps I'm confused but my /dev/shm doesn't have any such files,

Well right now they don't get exposed as they are created unlinked but
that is a trivial tweak to mm/shmem.c.


Nothing of the sort. I'm pointing out that mmap and shm_open already
provide all the needed interfaces for this for real world applications
today.

We don't need to change any semantics, there is a perfectly good
alternative standards based interface. At most you might want to make the
sys3 shared memory segments appear in /dev/shm/ somewhere.

Alan
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH, v3] shmat: introduce flag SHM_MAP_NOT_FIXED, Kirill A. Shutemov, (Tue Oct 7, 9:15 am)
Re: [PATCH, v3] shmat: introduce flag SHM_MAP_NOT_FIXED, KOSAKI Motohiro, (Tue Oct 7, 9:31 am)
Re: [PATCH, v3] shmat: introduce flag SHM_MAP_NOT_FIXED, KOSAKI Motohiro, (Tue Oct 7, 2:38 pm)
Re: [PATCH, v3] shmat: introduce flag SHM_MAP_NOT_FIXED, Alan Cox, (Wed Oct 8, 1:33 am)
Re: [PATCH, v3] shmat: introduce flag SHM_MAP_NOT_FIXED, Michael Kerrisk, (Wed Oct 8, 1:57 am)
Re: [PATCH, v3] shmat: introduce flag SHM_MAP_NOT_FIXED, Kirill A. Shutemov, (Wed Oct 8, 2:35 am)