Re: [PATCH] mm: Save soft-dirty bits on swapped pages

From: Andy Lutomirski
Date: Wed Jul 24 2013 - 12:23:40 EST

On Wed, Jul 24, 2013 at 9:08 AM, Cyrill Gorcunov <gorcunov@xxxxxxxxx> wrote:
> Andy Lutomirski reported that in case if a page with _PAGE_SOFT_DIRTY
> bit set get swapped out, the bit is getting lost and no longer
> available when pte read back.

Potentially silly question (due to my completely lack of understanding
of how swapping works in Linux): what about file-backed pages?
(Arguably these would be best supported by filesystems instead of by
the core vm, in which case it might make sense to drop soft-dirty
support for these pages entirely.)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at