added the madvise call in multiple page scanning