Re: Hugetlbpages in very large memory machines.......

From: Hirokazu Takahashi
Date: Mon Mar 15 2004 - 22:20:33 EST


Hello,

> Yes, you are true.
> In the fault handler, we should use find_lock_page() instead of
> find_get_page() to find a hugepage associated with the fault address.

Sorry, locking page is not needed.

> After that pte_none(*pte) should be called again to check whether
> some races has happened.

While checking, mm->page_table_lock have to be locked.

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