Re: [PATCH] i386 uaccess to fixmap pages

Chuck Ebbert (76306.1226@compuserve.com)
Fri, 9 May 2003 13:28:34 -0400


Linus Torvalds wrote:

> So we'd have to move the kernel to something like
> 0xc0400000 (and preferably higher, to make sure there is a nice hole in
> between - say 0xc1000000), which in turn has a cost of verifying that
> nothing assumes the current lay-out (we've had the 1/2/3GB TASK_SIZE
> patches floating around, but they've never had "odd sizes").

/arch/i386/kernel/doublefault.c:

#define ptr_ok(x) ((x) > 0xc0000000 && (x) < 0xc1000000)
-
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/