Re: [PATCH] mremap.2: Add note about mremap with locked areas

2015-09-11 Thread Michael Kerrisk (man-pages)
On 08/28/2015 08:42 PM, Eric B Munson wrote: > When mremap() is used to move or expand a mapping that is locked with > mlock() or equivalent it will attempt to populate the new area. > However, like mmap(MAP_LOCKED), mremap() will not fail if the area > cannot be populated. Also like

Re: [PATCH] mremap.2: Add note about mremap with locked areas

2015-09-11 Thread Michael Kerrisk (man-pages)
On 08/28/2015 08:42 PM, Eric B Munson wrote: > When mremap() is used to move or expand a mapping that is locked with > mlock() or equivalent it will attempt to populate the new area. > However, like mmap(MAP_LOCKED), mremap() will not fail if the area > cannot be populated. Also like

Re: [PATCH] mremap.2: Add note about mremap with locked areas

2015-08-31 Thread Michal Hocko
On Fri 28-08-15 14:42:52, Eric B Munson wrote: > When mremap() is used to move or expand a mapping that is locked with > mlock() or equivalent it will attempt to populate the new area. > However, like mmap(MAP_LOCKED), mremap() will not fail if the area > cannot be populated. Also like

Re: [PATCH] mremap.2: Add note about mremap with locked areas

2015-08-31 Thread Michal Hocko
On Fri 28-08-15 14:42:52, Eric B Munson wrote: > When mremap() is used to move or expand a mapping that is locked with > mlock() or equivalent it will attempt to populate the new area. > However, like mmap(MAP_LOCKED), mremap() will not fail if the area > cannot be populated. Also like

[PATCH] mremap.2: Add note about mremap with locked areas

2015-08-28 Thread Eric B Munson
When mremap() is used to move or expand a mapping that is locked with mlock() or equivalent it will attempt to populate the new area. However, like mmap(MAP_LOCKED), mremap() will not fail if the area cannot be populated. Also like mmap(MAP_LOCKED) this might come as a surprise to users and

[PATCH] mremap.2: Add note about mremap with locked areas

2015-08-28 Thread Eric B Munson
When mremap() is used to move or expand a mapping that is locked with mlock() or equivalent it will attempt to populate the new area. However, like mmap(MAP_LOCKED), mremap() will not fail if the area cannot be populated. Also like mmap(MAP_LOCKED) this might come as a surprise to users and