Re: mmap'ing a large file

DervishD (raul@pleyades.net)
Thu, 15 Aug 2002 12:02:41 +0200


Hi Mike :)

>Is there a logical reason why a process can't mmap more than a 2G file?

Seems to be the value of TASK_MAX if you don't have HIGHMEM.

Moreover, if you try to mmap a size between TASK_MAX and
ULONG_MAX, you hit a corner case that I fixed in the -ac series, the
2.5.x series and other trees, *except* the 2.4.x 'official', because
Marcelo doesn't apply the patch (three lines... trivial I think).

Raśl
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/