Page MenuHomeFreeBSD

Move swapout code into vm_swapout.c.
ClosedPublic

Authored by kib on Oct 13 2017, 7:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 20 2023, 4:52 AM
Unknown Object (File)
Dec 19 2023, 10:23 PM
Unknown Object (File)
Nov 29 2023, 11:51 PM
Unknown Object (File)
Nov 26 2023, 12:55 AM
Unknown Object (File)
Nov 22 2023, 5:44 PM
Unknown Object (File)
Nov 22 2023, 4:44 PM
Unknown Object (File)
Nov 13 2023, 10:09 AM
Unknown Object (File)
Nov 12 2023, 11:57 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 Not Applicable
Unit
Tests Not Applicable

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 ↗(On Diff #33965)

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.