Messages in this thread Patch in this message | | | Date | Sun, 19 Dec 2004 17:48:51 -0700 (MST) | From | Zwane Mwaikambo <> | Subject | [PATCH] Boottime allocated GDTs and doublefault handler |
| |
GDTs on SMP tend to be above the current ptr_ok limits since they are boottime allocated. How does the following new arbitrary limit look?
Signed-off-by: Zwane Mwaikambo <zwane@fsmlabs.com>
Index: linux-2.6.10-rc3-mm1/arch/i386/kernel/doublefault.c =================================================================== RCS file: /home/cvsroot/linux-2.6.10-rc3-mm1/arch/i386/kernel/doublefault.c,v retrieving revision 1.1.1.1 diff -u -p -B -r1.1.1.1 doublefault.c --- linux-2.6.10-rc3-mm1/arch/i386/kernel/doublefault.c 13 Dec 2004 14:26:45 -0000 1.1.1.1 +++ linux-2.6.10-rc3-mm1/arch/i386/kernel/doublefault.c 20 Dec 2004 00:21:31 -0000 @@ -13,7 +13,7 @@ static unsigned long doublefault_stack[DOUBLEFAULT_STACKSIZE]; #define STACK_START (unsigned long)(doublefault_stack+DOUBLEFAULT_STACKSIZE) -#define ptr_ok(x) ((x) > PAGE_OFFSET && (x) < PAGE_OFFSET + 0x1000000) +#define ptr_ok(x) ((x) > PAGE_OFFSET && (x) < PAGE_OFFSET + 0x2000000) static void doublefault_fn(void) { - 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/
| |