Style fixes for vm_swapout.c extracted from D13671.
ClosedPublic

Authored by kib on Dec 29 2017, 5:26 PM.

Details

Reviewers
alc
markj
Commits
rS327354: Style.
Summary

I will extract the removal of the vm map lock from swapout_procs() next.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
kib created this revision.Dec 29 2017, 5:26 PM
alc accepted this revision.Dec 29 2017, 5:52 PM
Index: vm/vm_swapout.c
===================================================================
--- vm/vm_swapout.c     (revision 327347)
+++ vm/vm_swapout.c     (working copy)
@@ -938,9 +938,10 @@ swapout(struct proc *p)
            P_INMEM, ("swapout: lost a swapout race?"));
 
        /*
-        * remember the process resident count
+        * Remember the resident count.
         */
        p->p_vmspace->vm_swrss = vmspace_resident_count(p->p_vmspace);
+
        /*
         * Check and mark all threads before we proceed.
         */
sys/vm/vm_swapout.c
790 ↗(On Diff #37183)

"... vmspace. However, ..."

This revision is now accepted and ready to land.Dec 29 2017, 5:52 PM
Closed by commit rS327354: Style. (authored by kib, committed by ). · Explain WhyDec 29 2017, 7:05 PM
This revision was automatically updated to reflect the committed changes.