Re: [RFC/PATCH] Shared Page Tables [0/2]

From: Dave McCracken
Date: Mon Apr 10 2006 - 16:28:11 EST



--On Monday, April 10, 2006 13:20:59 -0700 Christoph Lameter
<clameter@xxxxxxx> wrote:

>> The lock changes to hugetlb are only to support sharing of pmd pages when
>> they contain hugetlb pages. They just substitute the struct page lock
>> for the page_table_lock, and are only about 30 lines of code. Is this
>> really worth separating out?
>
> Ia64 does not use pmd pages for huge pages. It relies instead on a
> separate region. I wonder if this works on IA64.

Sharing of hugetlb page tables is enabled on a per-architecture basis, so
if ia64 doesn't use pmd pages we shouldn't try to enable it. If it's not
enabled all the locking in hugetlb resolves to using page_table_lock, so
the original semantics will be preserved.

Dave McCracken

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/