svn commit: r296483 - user/alc/PQ_LAUNDRY/sys/vm
Mark Johnston
markj at FreeBSD.org
Tue Mar 8 02:32:13 UTC 2016
Author: markj
Date: Tue Mar 8 02:32:11 2016
New Revision: 296483
URL: https://svnweb.freebsd.org/changeset/base/296483
Log:
Use vm_page_undirty() instead of setting the dirty field manually.
Modified:
user/alc/PQ_LAUNDRY/sys/vm/vm_page.c
Modified: user/alc/PQ_LAUNDRY/sys/vm/vm_page.c
==============================================================================
--- user/alc/PQ_LAUNDRY/sys/vm/vm_page.c Tue Mar 8 02:05:04 2016 (r296482)
+++ user/alc/PQ_LAUNDRY/sys/vm/vm_page.c Tue Mar 8 02:32:11 2016 (r296483)
@@ -3250,7 +3250,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;
More information about the svn-src-user
mailing list