Re: [RFC][PATCH] allow bigger PAGE_OFFSET with PAE

From: Dave Hansen (haveblue@us.ibm.com)
Date: Wed Jan 08 2003 - 16:04:23 EST


William Lee Irwin III wrote:
> On Tue, Jan 07, 2003 at 12:06:38PM -0800, Dave Hansen wrote:
>
>>Also, this gets the kernel's pagetables right, but neglects
>>userspace's for now. pgd_alloc() needs to be fixed to allocate
>>another PMD, if the split isn't PMD-alighed.
>
> Um, that should be automatic when USER_PTRS_PER_PGD is increased.

Nope, you need a little bit more. pgd_alloc() relies on its memcpy()
to provide the kernel mappings. After the last user PMD is allocated,
you still need to copy the kernel-shared part of it in.

-- 
Dave Hansen
haveblue@us.ibm.com

- 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/



This archive was generated by hypermail 2b29 : Wed Jan 15 2003 - 22:00:25 EST