svn commit: r331145 - user/markj/vm-playground/sys/vm

Mark Johnston markj at FreeBSD.org
Sun Mar 18 19:34:31 UTC 2018


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)


More information about the svn-src-user mailing list