[SERVER-19805] MMap memory mapped file address allocation code cannot handle addresses non-aligned to memory mapped granularity size Created: 06/Aug/15 Updated: 14/Dec/15 Resolved: 10/Aug/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | MMAPv1 |
| Affects Version/s: | 3.0.5, 3.1.6 |
| Fix Version/s: | 3.0.6, 3.1.7 |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Mark Benvenuto | Assignee: | Mark Benvenuto |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | Windows | ||||||||
| Backport Completed: | |||||||||
| Sprint: | Platform 7 08/10/15 | ||||||||
| Participants: | |||||||||
| Description |
|
As part of the fix to https://github.com/mongodb/mongo/commit/0205239ecb579e20b05cee3a0df394eb11ba14ce |
| Comments |
| Comment by Githook User [ 10/Aug/15 ] |
|
Author: {u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}Message: |
| Comment by Githook User [ 10/Aug/15 ] |
|
Author: {u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}Message: |
| Comment by Mark Benvenuto [ 06/Aug/15 ] |
|
When we scan for free virtual memory, not all allocations are allocated to the right granularity. The allocations are aligned to OS page granularity (4kb), but need to be aligned to system allocation granularity (64kb). |