• Pavel Emelyanov's avatar
    predump: Spot the VDSO page/vma in victim task · 2ec003eb
    Pavel Emelyanov authored
    While doing pre-dump we don't do proper VDSO fixups, thus at
    this stage we may fail the should_dump_page() checks -- it
    will tread VDSO pages are 'regular' and may skip dumping some
    of them.
    
    This is not bad as is, but the subsequent dump will properly
    spot VDSO are and will try to dump _all_ pages from it. And
    if checks for soft-dirty will report that some pages are clean,
    dump will try to locate those in parent images and would fail.
    Acked-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
    2ec003eb
cr-dump.c 37.5 KB