RE: RFC: Cleanup / small fixes to hugetlb fault handling

Chen, Kenneth W
2005-10-26T20:12:30Z

David Gibson wrote on Tuesday, October 25, 2005 7:49 PM
> - find_lock_huge_page() didn't, in fact, lock the page if it newly
> allocated one, rather than finding it in the page cache already. As
> far as I can tell this is a bug, so the patch corrects it.

add_to_page_cache will lock the page if it was successfully added to the
address space radix tree. I don't see a bug that you are seeing.