Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Mar 2018 19:34:30 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r331145 - user/markj/vm-playground/sys/vm
Message-ID:  <201803181934.w2IJYUWR057552@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Sun Mar 18 19:34:30 2018
New Revision: 331145
URL: https://svnweb.freebsd.org/changeset/base/331145

Log:
  Enable the assertion in vm_pagequeue_cnt_add().

Modified:
  user/markj/vm-playground/sys/vm/vm_pagequeue.h

Modified: user/markj/vm-playground/sys/vm/vm_pagequeue.h
==============================================================================
--- user/markj/vm-playground/sys/vm/vm_pagequeue.h	Sun Mar 18 19:34:08 2018	(r331144)
+++ user/markj/vm-playground/sys/vm/vm_pagequeue.h	Sun Mar 18 19:34:30 2018	(r331145)
@@ -190,9 +190,7 @@ static __inline void
 vm_pagequeue_cnt_add(struct vm_pagequeue *pq, int addend)
 {
 
-#ifdef notyet
 	vm_pagequeue_assert_locked(pq);
-#endif
 	pq->pq_cnt += addend;
 }
 #define	vm_pagequeue_cnt_inc(pq)	vm_pagequeue_cnt_add((pq), 1)



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