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

From: Hugh Dickins
Date: Mon Jun 16 2008 - 14:15:53 EST


On Mon, 16 Jun 2008, Linus Torvalds wrote:
> 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>

And seems very reasonable (and exceptionally well described) to me too.

Acked-by: Hugh Dickins <hugh@xxxxxxxxxxx>
--
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/