Re: nonlinear swapping w/o pte_chains [Re: VMA_MERGING_FIXUP and patch]

From: Hugh Dickins
Date: Wed Mar 24 2004 - 07:20:05 EST

This subtlety in try_to_unmap_nonlinear_pte:

/* check that we're not in between set_pte and page_add_rmap */
if (page_mapped(page)) {
unmap_pte_page(page, vma, address + offset, ptep);

Harmless, but isn't our acquisition of the page_table_lock guaranteeing
that it cannot be in between set_pte and page_add_rmap?


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