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
F108493641: D46117.diff
Sat, Jan 25, 1:36 PM
Unknown Object (File)
Mon, Jan 6, 3:26 AM
Unknown Object (File)
Dec 13 2024, 1:38 AM
Unknown Object (File)
Dec 12 2024, 1:58 AM
Unknown Object (File)
Nov 28 2024, 1:40 PM
Unknown Object (File)
Nov 28 2024, 9:20 AM
Unknown Object (File)
Nov 28 2024, 9:20 AM
Unknown Object (File)
Nov 28 2024, 9:20 AM
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 ()