Date: Sun, 4 Mar 2018 21:15:31 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r330413 - head/sys/vm Message-ID: <201803042115.w24LFVjN078134@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Sun Mar 4 21:15:31 2018 New Revision: 330413 URL: https://svnweb.freebsd.org/changeset/base/330413 Log: Remove redundant test from r330410. If the input slist is non-empty, counter cannot be zero after freeing. Noted by: mjg MFC after: 2 weeks Modified: head/sys/vm/vm_page.c Modified: head/sys/vm/vm_page.c ============================================================================== --- head/sys/vm/vm_page.c Sun Mar 4 21:06:21 2018 (r330412) +++ head/sys/vm/vm_page.c Sun Mar 4 21:15:31 2018 (r330413) @@ -3268,7 +3268,7 @@ vm_page_free_pages_toq(struct spglist *free, bool upda vm_page_free_phys_pglist(&pgl); - if (update_wire_count && count > 0) + if (update_wire_count) vm_wire_sub(count); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803042115.w24LFVjN078134>