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)
Wed, Nov 13, 9:56 PM
Unknown Object (File)
Thu, Nov 7, 8:49 AM
Unknown Object (File)
Sun, Nov 3, 12:16 PM
Unknown Object (File)
Thu, Oct 31, 12:06 AM
Unknown Object (File)
Oct 7 2024, 2:50 AM
Unknown Object (File)
Oct 2 2024, 12:54 PM
Unknown Object (File)
Sep 30 2024, 9:37 PM
Unknown Object (File)
Sep 22 2024, 9:23 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 ()