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)
Wed, Oct 15, 4:07 PM
Unknown Object (File)
Tue, Oct 14, 2:26 AM
Unknown Object (File)
Fri, Oct 3, 10:39 PM
Unknown Object (File)
Thu, Oct 2, 5:15 PM
Unknown Object (File)
Thu, Oct 2, 1:23 PM
Unknown Object (File)
Tue, Sep 30, 6:10 AM
Unknown Object (File)
Sep 24 2025, 1:10 AM
Unknown Object (File)
Sep 14 2025, 10:44 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.