Date: Sun, 14 Aug 2016 19:01:15 +0000 (UTC) From: Mark Johnston <markj@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r304092 - stable/10/sys/vm Message-ID: <201608141901.u7EJ1Fxo044874@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: markj Date: Sun Aug 14 19:01:15 2016 New Revision: 304092 URL: https://svnweb.freebsd.org/changeset/base/304092 Log: MFC r303516 Use vm_page_undirty() instead of manually setting a page field. Modified: stable/10/sys/vm/vm_page.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/vm/vm_page.c ============================================================================== --- stable/10/sys/vm/vm_page.c Sun Aug 14 18:59:57 2016 (r304091) +++ stable/10/sys/vm/vm_page.c Sun Aug 14 19:01:15 2016 (r304092) @@ -2651,7 +2651,7 @@ vm_page_advise(vm_page_t m, int advice) * But we do make the page as freeable as we can without * actually taking the step of unmapping it. */ - m->dirty = 0; + vm_page_undirty(m); else if (advice != MADV_DONTNEED) return;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608141901.u7EJ1Fxo044874>