Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 May 2019 14:59:40 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r348457 - head/sys/vm
Message-ID:  <201905311459.x4VExenG075891@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Fri May 31 14:59:40 2019
New Revision: 348457
URL: https://svnweb.freebsd.org/changeset/base/348457

Log:
  Remove a redundant vm_page_remove() call.
  
  vm_page_free_prep() removes the page from its object.  No functional
  change intended.
  
  Reviewed by:	alc, kib
  MFC after:	1 week
  Differential Revision:	https://reviews.freebsd.org/D20469

Modified:
  head/sys/vm/vm_page.c

Modified: head/sys/vm/vm_page.c
==============================================================================
--- head/sys/vm/vm_page.c	Fri May 31 13:54:01 2019	(r348456)
+++ head/sys/vm/vm_page.c	Fri May 31 14:59:40 2019	(r348457)
@@ -2645,7 +2645,6 @@ retry:
 				} else {
 					m->flags &= ~PG_ZERO;
 					vm_page_dequeue(m);
-					vm_page_remove(m);
 					if (vm_page_free_prep(m))
 						SLIST_INSERT_HEAD(&free, m,
 						    plinks.s.ss);



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