Author: markj
Date: Thu Aug 10 22:43:38 2017
New Revision: 322383
URL: https://svnweb.freebsd.org/changeset/base/322383

Log:
  Make vm_page_sunbusy() assert that the page is unlocked.
  
  Reviewed by:  kib
  MFC after:    1 week
  Sponsored by: Dell EMC Isilon
  Differential Revision:        https://reviews.freebsd.org/D11946

Modified:
  head/sys/vm/vm_page.c

Modified: head/sys/vm/vm_page.c
==============================================================================
--- head/sys/vm/vm_page.c       Thu Aug 10 22:15:42 2017        (r322382)
+++ head/sys/vm/vm_page.c       Thu Aug 10 22:43:38 2017        (r322383)
@@ -757,6 +757,7 @@ vm_page_sunbusy(vm_page_t m)
 {
        u_int x;
 
+       vm_page_lock_assert(m, MA_NOTOWNED);
        vm_page_assert_sbusied(m);
 
        for (;;) {
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to