Re: [patch 1/2] mm, doc: cleanup and clarify munmap behavior for hugetlb memory

2015-04-02 Thread David Rientjes
On Sun, 29 Mar 2015, Hugh Dickins wrote: > > munmap(2) of hugetlb memory requires a length that is hugepage aligned, > > otherwise it may fail. Add this to the documentation. > > Thanks for taking this on, David. But although munmap(2) is the one > Davide called out, it goes beyond that, doesn'

Re: [patch 1/2] mm, doc: cleanup and clarify munmap behavior for hugetlb memory

2015-03-30 Thread Hugh Dickins
On Mon, 30 Mar 2015, Eric B Munson wrote: > On Sun, 29 Mar 2015, Hugh Dickins wrote: > > > > Eric, I apologize for bringing you in to the discussion, and then > > ignoring your input. I understand that you would like MAP_HUGETLB > > to behave more understandably. We can all agree that the existi

Re: [patch 1/2] mm, doc: cleanup and clarify munmap behavior for hugetlb memory

2015-03-30 Thread Eric B Munson
On Sun, 29 Mar 2015, Hugh Dickins wrote: > On Thu, 26 Mar 2015, David Rientjes wrote: > > > munmap(2) of hugetlb memory requires a length that is hugepage aligned, > > otherwise it may fail. Add this to the documentation. > > Thanks for taking this on, David. But although munmap(2) is the one

Re: [patch 1/2] mm, doc: cleanup and clarify munmap behavior for hugetlb memory

2015-03-29 Thread Hugh Dickins
On Thu, 26 Mar 2015, David Rientjes wrote: > munmap(2) of hugetlb memory requires a length that is hugepage aligned, > otherwise it may fail. Add this to the documentation. Thanks for taking this on, David. But although munmap(2) is the one Davide called out, it goes beyond that, doesn't it? T

Re: [patch 1/2] mm, doc: cleanup and clarify munmap behavior for hugetlb memory

2015-03-27 Thread David Rientjes
On Fri, 27 Mar 2015, Eric B Munson wrote: > > munmap(2) of hugetlb memory requires a length that is hugepage aligned, > > otherwise it may fail. Add this to the documentation. > > > > This also cleans up the documentation and separates it into logical > > units: one part refers to MAP_HUGETLB an

Re: [patch 1/2] mm, doc: cleanup and clarify munmap behavior for hugetlb memory

2015-03-27 Thread Eric B Munson
On Thu, 26 Mar 2015, David Rientjes wrote: > munmap(2) of hugetlb memory requires a length that is hugepage aligned, > otherwise it may fail. Add this to the documentation. > > This also cleans up the documentation and separates it into logical > units: one part refers to MAP_HUGETLB and another

[patch 1/2] mm, doc: cleanup and clarify munmap behavior for hugetlb memory

2015-03-26 Thread David Rientjes
munmap(2) of hugetlb memory requires a length that is hugepage aligned, otherwise it may fail. Add this to the documentation. This also cleans up the documentation and separates it into logical units: one part refers to MAP_HUGETLB and another part refers to requirements for shared memory segment