|
From: John R.
|
>> When the mmap() fails with EINVAL, then look at the address space using >> cat /proc/<pid>/maps >> and see if there is 80MB contiguous space available. > Doesn't mmap() return ENOSPC in this case rather than EINVAL? The manual page says ENOMEM; the code in linux/mm/mmap.c has no "ENOSPC". But things have already "gone wrong" when an 80GB request is not honored on x86_64, so it may be worthwhile to consider other "impossible" conditions. -- |