On 2012-12-10 06:01, Jan Stancek wrote: > mremap-fixed-huge-near-normal testcase mmaps 4*hpage_size - > getpagesize() > of anon shared memory. Then it finds area of 3 huge pages aligned to > hpage_size and munmaps lower and upper areas: > > lower +----- 3*hpage_size -----+ upper > / \/ \/ \ > |--------|--------|--------|--------|--------| > p q | p+xsize > q+size > > If initial mmap will place whole area in such way, that lower or > upper > area size is zero, munmap fails with EINVAL and testcase fails. > > mmap(2): > EINVAL (since Linux 2.6.12) length was 0. > > Signed-off-by: Jan Stancek <jstan...@redhat.com> > ---
Applied, thanks. Eric ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Libhugetlbfs-devel mailing list Libhugetlbfs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel