[CRIU] Re: [PATCH cr 6/7] mm: clean up parasite

Pavel Emelyanov xemul at parallels.com
Tue Mar 20 13:17:10 EDT 2012


On 03/19/2012 07:50 PM, Andrey Vagin wrote:
> 
> Now it has only one descritor for dumping pages
> 
> Signed-off-by: Andrey Vagin <avagin at openvz.org>
> ---
>  include/parasite.h |    4 ----
>  parasite-syscall.c |    1 -
>  parasite.c         |   15 ++++++---------
>  3 files changed, 6 insertions(+), 14 deletions(-)
> 

> @@ -570,7 +570,6 @@ int parasite_dump_pages_seized(struct parasite_ctl *ctl, struct list_head *vma_a
>  
>  		if (vma_area_is(vma_area, VMA_ANON_PRIVATE) ||
>  		    vma_area_is(vma_area, VMA_FILE_PRIVATE)) {
> -			parasite_dumppages.fd_type = PG_PRIV;
>  		} else {
>  			pr_warn("Unexpected VMA area found\n");
>  			continue;


Please, sanitize this oxymoron.


More information about the CRIU mailing list