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

2014-09-25 Thread Cyrill Gorcunov
On Wed, Sep 24, 2014 at 02:59:27PM -0700, Andrew Morton wrote: > On Sat, 20 Sep 2014 01:03:07 -0700 Peter Feiner wrote: > > > Fixes the same bug as b43790eedd31e9535b89bbfa45793919e9504c34 and > > 9aed8614af5a05cdaa32a0b78b0f1a424754a958 where the return value of > > pte_*mksoft_dirty was being i

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

2014-09-24 Thread Andrew Morton
On Sat, 20 Sep 2014 01:03:07 -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

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

2014-09-20 Thread Cyrill Gorcunov
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 v

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

2014-09-20 Thread Peter Feiner
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/