svn commit: r238180 - head/sys/vm
Konstantin Belousov
kib at FreeBSD.org
Fri Jul 6 20:13:17 UTC 2012
Author: kib
Date: Fri Jul 6 20:13:16 2012
New Revision: 238180
URL: http://svn.freebsd.org/changeset/base/238180
Log:
Style.
Reviewed by: alc (previous version)
MFC after: 1 week
Modified:
head/sys/vm/vm_pageout.c
Modified: head/sys/vm/vm_pageout.c
==============================================================================
--- head/sys/vm/vm_pageout.c Fri Jul 6 20:11:58 2012 (r238179)
+++ head/sys/vm/vm_pageout.c Fri Jul 6 20:13:16 2012 (r238180)
@@ -836,7 +836,7 @@ rescan0:
object = m->object;
if (!VM_OBJECT_TRYLOCK(object) &&
(!vm_pageout_fallback_object_lock(m, &next) ||
- m->hold_count != 0)) {
+ m->hold_count != 0)) {
VM_OBJECT_UNLOCK(object);
vm_page_unlock(m);
addl_page_shortage++;
@@ -867,8 +867,8 @@ rescan0:
* level VM system not knowing anything about existing
* references.
*/
- } else if (((m->aflags & PGA_REFERENCED) == 0) &&
- (actcount = pmap_ts_referenced(m))) {
+ } else if ((m->aflags & PGA_REFERENCED) == 0 &&
+ (actcount = pmap_ts_referenced(m)) != 0) {
vm_page_activate(m);
vm_page_unlock(m);
m->act_count += actcount + ACT_ADVANCE;
More information about the svn-src-head
mailing list