Bug 79311
| Summary: | mmap MAP_SHARED doesn't work in one process | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Need Real Name <jboorn> | ||||
| Component: | kernel | Assignee: | Arjan van de Ven <arjanv> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 7.3 | ||||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | i686 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2003-03-26 00:11:30 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Need Real Name
2002-12-09 22:43:21 UTC
Created attachment 88086 [details]
test program
ehm you ask for 2 mappings of the same file, you get 2 mappings; it will be the same physical page however, just available at both addresses; MAP_SHARED doesn't mean "return same virtual address" but "share phsyical memory between mmap users" Explanation posted seems good, resolving as notabug. Technically not a bug. My problem, which was worked around with a wrapper, was the process would run out of memory after mmaping a large file a second time. This seems undiserable to me,the process ran out of memory while not using any more real memory. |