Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transactionabstraction

From: Linus Torvalds
Date: Mon Jun 16 2008 - 13:36:51 EST




On Mon, 16 Jun 2008, Jeremy Fitzhardinge wrote:
>
> ptep_modify_prot_start() returns the current pte value, and puts the
> pte entry into a state where either the hardware will not update the
> pte, or if it does, the updates will be preserved on commit.
>
> ptep_modify_prot_commit() writes back the updated pte, makes sure that
> any hardware updates made since ptep_modify_prot_start() are
> preserved.

Ok, I'm fine with this now that it's renamed to be clearly about just
protection bits.

So

Acked-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>

for what it's worth.

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