svn commit: r334783 - head/sys/vm
Jonathan T. Looney
jtl at FreeBSD.org
Thu Jun 7 13:31:02 UTC 2018
Author: jtl
Date: Thu Jun 7 13:29:54 2018
New Revision: 334783
URL: https://svnweb.freebsd.org/changeset/base/334783
Log:
Fix a typo in vm_domain_set(). When a domain crosses into the severe range,
we need to set the domain bit from the vm_severe_domains bitset (instead
of clearing it).
Reviewed by: jeff, markj
Sponsored by: Netflix, Inc.
Modified:
head/sys/vm/vm_page.c
Modified: head/sys/vm/vm_page.c
==============================================================================
--- head/sys/vm/vm_page.c Thu Jun 7 13:16:53 2018 (r334782)
+++ head/sys/vm/vm_page.c Thu Jun 7 13:29:54 2018 (r334783)
@@ -2845,7 +2845,7 @@ vm_domain_set(struct vm_domain *vmd)
}
if (!vmd->vmd_severeset && vm_paging_severe(vmd)) {
vmd->vmd_severeset = 1;
- DOMAINSET_CLR(vmd->vmd_domain, &vm_severe_domains);
+ DOMAINSET_SET(vmd->vmd_domain, &vm_severe_domains);
}
mtx_unlock(&vm_domainset_lock);
}
More information about the svn-src-head
mailing list