Page MenuHomeFreeBSD

Style fixes for vm_swapout.c extracted from D13671.
ClosedPublic

Authored by kib on Dec 29 2017, 5:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jan 12, 8:52 PM
Unknown Object (File)
Sep 28 2024, 5:24 AM
Unknown Object (File)
Sep 28 2024, 1:51 AM
Unknown Object (File)
Sep 26 2024, 9:23 PM
Unknown Object (File)
Sep 26 2024, 3:21 PM
Unknown Object (File)
Sep 22 2024, 2:12 AM
Unknown Object (File)
Sep 21 2024, 12:27 PM
Unknown Object (File)
Sep 11 2024, 8:30 PM
Subscribers

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 - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

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
This revision was automatically updated to reflect the committed changes.