Talk:mmap

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

"On modern operating systems mmap is typically preferred to the System V IPC Shared Memory facility"

What does the term "modern" refer to in this statement? It's being used as a synonym for "UNIX-like" in this case, and not operating systems of recent design (which is what one would normally think of in regard to being modern). 74.134.226.55 01:08, 9 May 2007 (UTC)[reply]
Perhaps "modern implementations of UNIX and UNIX-like operating systems" would have been more precise. However, it's being compared to SysV "shared memory" which puts it obviously in the context of UNIX systems. Also mmap() as a system call (operating system function) is already strongly associated with UNIX-like operating systems. MS-Windows (and OS/2) derived their inspiration for their versions of this function from UNIX; MacOS X is a UNIX-like operating system. Are there any more "modern" operating systems which implement mmap() specifically? What other mechanisms for shared memory or memory mapped file access are available on other operating systems? JimD (talk) 16:04, 10 May 2010 (UTC)[reply]

I'm not qualified to discuss the precise relative merits of Sys-V style Shared memory and mmap, but "modern operating systems" can't directly mean UNIX-like in this context because System V was UNIX, and System V methodologies would naturally have been preferred on Systev V. It may well refer to "modern UNIX-like operating systems" but it must mean that they are of sufficiently recent design to incorporate both mmap and System V stuff. Forkazoo 22:26, 20 December 2007 (UTC) —Preceding unsigned comment added by Forkazoo (talkcontribs)

Thanks alot for the great article. I am truly impressed at how useful and eady to understand it was. God Bless You guys. By the way, wikipedia is used daily by me as I learn programming. 71.175.58.214 19:55, 6 October 2007 (UTC)[reply]

MAP_ANONYMOUS[edit]

The description of mapping swap space is totally incorrect. source Bestsss (talk) 09:43, 27 December 2012 (UTC)[reply]

Disambiguation?[edit]

.mmap is also the file extension used by popular mind-mapping software Mindjet MindManager (Mac & PC). --86.135.209.73 (talk) 22:38, 10 September 2008 (UTC)[reply]

Compared to the subject, that is completely obscure and trivial.

History[edit]

What is the first use of mmap and first mmap-like functionality? 4.1cBSD? 91.154.87.201 (talk) 15:32, 23 March 2012 (UTC)[reply]

Suggest giving timeframes as a year in addition to software versions. "BSD 1.2.3" is less (immediately) informative than "mmap was first seen in 1923". — Preceding unsigned comment added by 121.44.96.185 (talk) 01:54, 25 January 2017 (UTC)[reply]

The Example[edit]

What is the example supposed to be doing? Examples are supposed to illuminate, not show off someone's C coding skills. — Preceding unsigned comment added by Houseofwealth (talkcontribs) 18:41, 15 December 2016 (UTC)[reply]

The Intro[edit]

Says "It naturally implements demand paging, because file contents are not read from disk initially and do not use physical RAM at all". The last phrase of the sentence makes no sense. If the file is mapped into VM, and attempting to read it causes a page fault - which it must - then when you page in the file you have to use physical memory. — Preceding unsigned comment added by Houseofwealth (talkcontribs) 18:46, 15 December 2016 (UTC)[reply]

External links modified[edit]

Hello fellow Wikipedians,

I have just modified one external link on Mmap. Please take a moment to review my edit. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit this simple FaQ for additional information. I made the following changes:

When you have finished reviewing my changes, you may follow the instructions on the template below to fix any issues with the URLs.

This message was posted before February 2018. After February 2018, "External links modified" talk page sections are no longer generated or monitored by InternetArchiveBot. No special action is required regarding these talk page notices, other than regular verification using the archive tool instructions below. Editors have permission to delete these "External links modified" talk page sections if they want to de-clutter talk pages, but see the RfC before doing mass systematic removals. This message is updated dynamically through the template {{source check}} (last update: 18 January 2022).

  • If you have discovered URLs which were erroneously considered dead by the bot, you can report them with this tool.
  • If you found an error with any archives or the URLs themselves, you can fix them with this tool.

Cheers.—InternetArchiveBot (Report bug) 14:11, 14 December 2017 (UTC)[reply]