From owner-svn-src-head@freebsd.org Thu Mar 16 08:29:21 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1760CD0E4EB for ; Thu, 16 Mar 2017 08:29:21 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from dec.sakura.ne.jp (dec.sakura.ne.jp [210.188.226.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D1267107F; Thu, 16 Mar 2017 08:29:20 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from fortune.joker.local (123-48-19-110.dz.commufa.jp [123.48.19.110]) (authenticated bits=0) by dec.sakura.ne.jp (8.15.2/8.15.2/[SAKURA-WEB]/20080708) with ESMTPA id v2G8TCEp064450; Thu, 16 Mar 2017 17:29:12 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) Date: Thu, 16 Mar 2017 17:29:11 +0900 From: Tomoaki AOKI 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> Organization: Junchoon corps X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Mar 2017 08:29:21 -0000 > 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