Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Mar 2017 17:29:11 +0900
From:      Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
To:        svn-src-head@freebsd.org
Cc:        delphij@FreeBSD.org
Subject:   Re: svn commit: r315370 - head/sys/vm
Message-ID:  <20170316172911.8012ee4dd86e2ed6208cc468@dec.sakura.ne.jp>

next in thread | raw e-mail | index | archive | help
> Author: delphij
> Date: Thu Mar 16 05:44:16 2017
> New Revision: 315370
> URL: https://svnweb.freebsd.org/changeset/base/315370
> 
> Log:
>   The adj_free and max_free values of new_entry will be calculated and
>   assigned by subsequent vm_map_entry_link(), therefore, remove the
>   pointless copying.
>   
>   Submitted by:	alc
>   MFC after:	3 days

Should be X-MFC with:	r315272.
This modifies what r315272 implements and meaningless without it.
Is r315272 planned to be MFC'ed in 3 days? (Originally, 1month.)


> 
> Modified:
>   head/sys/vm/vm_map.c
> 
> Modified: head/sys/vm/vm_map.c
> ==============================================================================
> --- head/sys/vm/vm_map.c	Thu Mar 16 04:58:12 2017
(r315369)
> +++ head/sys/vm/vm_map.c	Thu Mar 16 05:44:16 2017	(r315370)
> @@ -3456,8 +3456,6 @@ vmspace_fork(struct vmspace *vm1, vm_oof
>  			new_entry->start = old_entry->start;
>  			new_entry->end = old_entry->end;
>  			new_entry->avail_ssize = old_entry->avail_ssize;
> -			new_entry->adj_free = old_entry->adj_free;
> -			new_entry->max_free = old_entry->max_free;
>  			new_entry->eflags = old_entry->eflags &
>  			    ~(MAP_ENTRY_USER_WIRED | MAP_ENTRY_IN_TRANSITION |
>  			     MAP_ENTRY_VN_WRITECNT);

-- 
Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170316172911.8012ee4dd86e2ed6208cc468>