• Pavel Emelyanov's avatar
    vma: Mark cow roots · 074e7b89
    Pavel Emelyanov authored
    Next patch will stop premapping some private vmas. In particular -- those,
    that are not COW-ed with anyone. To make this work we need to distinguish
    vmas that are not cowed with anyone from those cowed with children only.
    Currently both have vma->parent pointer set to NULL, so for former let's
    introduce the special mark.
    Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
    Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
    074e7b89
vma.h 3.58 KB