Re: Use tmpfs for shm_open()?

Rik van Riel (H.H.vanRiel@phys.uu.nl)
Fri, 19 Jun 1998 20:17:27 +0200 (CEST)


On 19 Jun 1998, Eric W. Biederman wrote:
> >>>>> "RG" == Richard Gooch <Richard.Gooch@atnf.CSIRO.AU> writes:
>
> RG> Hi, all. A random thought just popped into my head today: how about
> RG> implementing a tmpfs which could then be used as the basis of a simple
> RG> userspace (libc) implementation of POSIX shared memory, aka.
> RG> shm_open().
>
> Look at http://www.npwt.net/~ebiederm/files
> and get shmfs-0.1.009.tar.gz
> and code me that user space implementation please.
>
> I have a few things to work out with the mm system.

If we would allocate _all_ virtual memory areas
(VMAs) as an inode on shmfs (aka vnode), we could
do a lot more nice tricks...

One of them is piggybacking on the mmap() readahead
code for swapins. Another is better page aging since
we can then walk the pages by vnode instead of by
process.

Now all we need is some people to help code it.

Rik.
+-------------------------------------------------------------------+
| Linux memory management tour guide. H.H.vanRiel@phys.uu.nl |
| Scouting Vries cubscout leader. http://www.phys.uu.nl/~riel/ |
+-------------------------------------------------------------------+

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu