Page MenuHomeFreeBSD

vm: Remove kernel stack swapping support, part 6
ClosedPublic

Authored by markj on Jul 24 2024, 9:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 28, 1:40 PM
Unknown Object (File)
Thu, Nov 28, 9:20 AM
Unknown Object (File)
Thu, Nov 28, 9:20 AM
Unknown Object (File)
Thu, Nov 28, 9:20 AM
Unknown Object (File)
Thu, Nov 28, 9:20 AM
Unknown Object (File)
Thu, Nov 28, 8:59 AM
Unknown Object (File)
Fri, Nov 22, 1:44 PM
Unknown Object (File)
Sat, Nov 16, 10:29 PM
Subscribers

Details

Summary
  • Remove most checks of the P_INMEM flag.
  • Some uses remain since a few userspace tools expect the flag to be set.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

markj requested review of this revision.Jul 24 2024, 9:39 PM

Can we document which processes/tools do that?

This revision is now accepted and ready to land.Jul 24 2024, 9:51 PM
In D46117#1051135, @imp wrote:

Can we document which processes/tools do that?

In the commit log message you mean? Sure. It's ps(1) and top(1) mainly, but I'm sure that code's been copy-pasted around.

sys/fs/procfs/procfs_status.c
124–125

Could this be properly de-indented, please?

sys/kern/sys_process.c
98–99

IMO this macro should go away.

markj marked 2 inline comments as done.

Handle kib's comments.

This revision now requires review to proceed.Jul 25 2024, 1:59 PM
This revision is now accepted and ready to land.Jul 25 2024, 2:06 PM
sys/kern/sys_process.c
74

drop ()