Re: [PATCH RFC 3/3] ARM: reduce size of page table directory for short mode

From: Catalin Marinas
Date: Tue Nov 18 2014 - 18:03:14 EST

On Tue, Nov 18, 2014 at 07:11:04PM +0000, Russell King - ARM Linux wrote:
> On Tue, Nov 18, 2014 at 06:14:12PM +0000, Catalin Marinas wrote:
> > Actually, with LPAE you can save a pmd and pte allocated for the vectors
> > page at 0xffff0000. So you can save 8K per task here. Similarly with the
> > classic MMU, you can save another 4K for the vectors page pte.
> No. For any CPU which has high vectors (approximately ARMv5 and up),
> there is no "vectors page pte". The vectors page PTE is only allocated
> when we need low vectors.

You are right. The kernel pgd entries are copied by pgd_alloc, so no
need for additional pmd/pte allocations (they would be shared).

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at