Re: [PATCH] mm: softdirty: keep bit when zapping file pte

From: Cyrill Gorcunov
Date: Sat Sep 20 2014 - 04:08:58 EST


On Sat, Sep 20, 2014 at 01:03:07AM -0700, Peter Feiner wrote:
> Fixes the same bug as b43790eedd31e9535b89bbfa45793919e9504c34 and
> 9aed8614af5a05cdaa32a0b78b0f1a424754a958 where the return value of
> pte_*mksoft_dirty was being ignored.
>
> To be sure that no other pte/pmd "mk" function return values were
> being ignored, I annotated the functions in
> arch/x86/include/asm/pgtable.h with __must_check and rebuilt.
>
> Signed-off-by: Peter Feiner <pfeiner@xxxxxxxxxx>
Acked-by: Cyrill Gorcunov <gorcunov@xxxxxxxxxx>

I might be missing it, thanks a huge Peter!
--
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/