LWN.net Logo

What's the problem?

What's the problem?

Posted Oct 30, 2010 1:03 UTC (Sat) by nevyn (subscriber, #33129)
In reply to: What's the problem? by michaeljt
Parent article: Ghosts of Unix Past: a historical search for design patterns

You don't need to pass the fd, you can also use a real file and open+MMAP_SHARED in each process.


(Log in to post comments)

What's the problem?

Posted Nov 2, 2010 10:12 UTC (Tue) by michaeljt (subscriber, #39183) [Link]

> You don't need to pass the fd, you can also use a real file and open+MMAP_SHARED in each process.

That sounds to me like the method where you create a file, open it in all processes, unlink it then make it sparse of the size you need, and hope that the kernel heuristics do the right thing...

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds