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)
Tue, Nov 18, 11:06 AM
Unknown Object (File)
Sun, Oct 26, 3:31 AM
Unknown Object (File)
Sun, Oct 26, 1:20 AM
Unknown Object (File)
Sun, Oct 26, 12:32 AM
Unknown Object (File)
Sun, Oct 26, 12:23 AM
Unknown Object (File)
Sat, Oct 25, 3:46 PM
Unknown Object (File)
Thu, Oct 23, 11:37 PM
Unknown Object (File)
Wed, Oct 22, 9:30 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 58826
Build 55713: arc lint + arc unit

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 ()