Re: [PATCH v2] mm: softdirty: unmapped addresses between VMAs are clean

2014-10-01 Thread Peter Feiner
On Fri, Sep 26, 2014 at 04:33:26PM -0400, Naoya Horiguchi wrote: > Could you test and merge the following change? Many apologies for the late reply! Your email was in my spam folder :-( I see that Andrew has already merged the patch, so we're in good shape! Thanks for fixing this bug Naoya! -- To

Re: [PATCH v2] mm: softdirty: unmapped addresses between VMAs are clean

2014-09-26 Thread Naoya Horiguchi
On Mon, Sep 15, 2014 at 11:40:38AM -0700, Peter Feiner wrote: > If a /proc/pid/pagemap read spans a [VMA, an unmapped region, then a > VM_SOFTDIRTY VMA], the virtual pages in the unmapped region are reported > as softdirty. Here's a program to demonstrate the bug: > > int main() { > const ui

[PATCH v2] mm: softdirty: unmapped addresses between VMAs are clean

2014-09-15 Thread Peter Feiner
If a /proc/pid/pagemap read spans a [VMA, an unmapped region, then a VM_SOFTDIRTY VMA], the virtual pages in the unmapped region are reported as softdirty. Here's a program to demonstrate the bug: int main() { const uint64_t PAGEMAP_SOFTDIRTY = 1ul << 55; uint64_t pme[3]; i