CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2018/05/12 11:17:27

Modified files:
        sys/uvm        : uvm_page.c 

Log message:
Re-apply inadvertantly misplaced r1.127 from kettenis@:

"Buffer cache pages are wired but not counted as such.  Therefore we
have to set the wire count on the pages to 0 before we call
uvm_pagefree() on them, just like we do in buf_free_pages().
Otherwise the wired pages counter goes negative.  While there, also
sprinkle some KASSERTs in there that buf_free_pages() has as well."

ok beck@ (again)

Reply via email to