Messages in this thread | | | Date | Fri, 11 Nov 2005 00:10:44 +0000 | From | Russell King <> | Subject | Re: [PATCH 01/15] mm: poison struct page for ptlock |
| |
On Thu, Nov 10, 2005 at 11:56:52AM -0800, Linus Torvalds wrote: > On Thu, 10 Nov 2005, Andrew Morton wrote: > > > > IOW we're assuming that no 32-bit architectures will obtain pagetables from > > slab? > > I thought ARM does?
ARM26 does. On ARM, we play some games to weld to page tables together. (We also duplicate them to give us a level of independence from the MMU architecture and to give us space for things like young and dirty bits.)
As far as Linux is concerned, a 2nd level page table is one struct page and L1 entries are two words in size.
I wrote up some docs on this and threw them into a comment in include/asm-arm/pgtable.h...
-- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: 2.6 Serial core - 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/
| |