Page MenuHomeFreeBSD

Move swapout code into vm_swapout.c.
ClosedPublic

Authored by kib on Oct 13 2017, 7:05 PM.
Tags
None
Referenced Files
F105790001: D12663.id34171.diff
Fri, Dec 20, 5:50 PM
F105773121: D12663.diff
Fri, Dec 20, 12:15 PM
Unknown Object (File)
Sun, Dec 8, 11:58 PM
Unknown Object (File)
Mon, Dec 2, 6:33 AM
Unknown Object (File)
Sat, Nov 30, 5:23 PM
Unknown Object (File)
Sat, Nov 23, 11:26 PM
Unknown Object (File)
Nov 7 2024, 7:49 AM
Unknown Object (File)
Nov 6 2024, 4:58 PM
Subscribers

Details

Summary

There is no NO_SWAPPING #ifdef left in the code.

Test Plan

Compile-tested only ATM. Both !NO_SWAPPING and NO_SWAPPING configs.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 12037

Event Timeline

Looks ok to me. I like this approach better than, e.g., ffs_softdep.c, where the stubs are kept in the same file.

sys/vm/vm_swapout_dummy.c
71

Extra newline.

This revision is now accepted and ready to land.Oct 13 2017, 7:31 PM
kib marked an inline comment as done.Oct 13 2017, 8:06 PM

Remove empty line.
Do not ever return from NO_SWAPPING swapper().

This revision now requires review to proceed.Oct 13 2017, 8:13 PM
This revision is now accepted and ready to land.Oct 19 2017, 5:14 AM
This revision was automatically updated to reflect the committed changes.