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)
Mar 9 2024, 6:14 AM
Unknown Object (File)
Feb 14 2024, 10:28 PM
Unknown Object (File)
Jan 17 2024, 11:48 PM
Unknown Object (File)
Oct 31 2023, 3:45 PM
Unknown Object (File)
Oct 31 2023, 9:29 AM
Unknown Object (File)
Sep 29 2023, 9:34 AM
Unknown Object (File)
Sep 6 2023, 2:12 PM
Unknown Object (File)
Sep 6 2023, 2:11 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.