Re: [BK-2.4] [PATCH] Small do_mmap_pgoff correction

From: David S. Miller (
Date: Tue Dec 10 2002 - 15:19:08 EST

   From: Linux Kernel Mailing List <>
   Date: Tue, 10 Dec 2002 15:51:07 +0000

   + * NOTE: in this function we rely on TASK_SIZE being lower than
   + * SIZE_MAX-PAGE_SIZE at least. I'm pretty sure that it is.
   + */

This assumption is wrong. It is totally possible for TASK_SIZE
to be the entire 64-bit address space on sparc64 and thus larger
than SIZE_MAX - PAGE_SIZE, and I definitely plan on supporting

User processes live entirely in their very own address space seperate
from the kernel, so kernel stuff does not take up any part of the user
virtual addresses.

Please revert this change, it adds absolutely nothing.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun Dec 15 2002 - 22:00:18 EST