Page MenuHomeFreeBSD

vm_pager: Remove references to KVME_TYPE_DEFAULT in the kernel
ClosedPublic

Authored by markj on Jul 12 2022, 4:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 18, 1:34 AM
Unknown Object (File)
Wed, May 8, 7:36 AM
Unknown Object (File)
Mar 21 2024, 7:08 PM
Unknown Object (File)
Mar 21 2024, 7:08 PM
Unknown Object (File)
Mar 21 2024, 7:08 PM
Unknown Object (File)
Mar 21 2024, 7:08 PM
Unknown Object (File)
Mar 20 2024, 10:03 PM
Unknown Object (File)
Jan 14 2024, 10:19 AM
Subscribers

Details

Summary

Keep the definition around since it's used by userspace.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 46388
Build 43277: arc lint + arc unit

Event Timeline

markj requested review of this revision.Jul 12 2022, 4:23 PM

Question to consider: What are the implications of userspace using it? Hopefully it's just dead code that never gets executed because KVME_TYPE_DEFAULT is never returned to userspace now...

This revision is now accepted and ready to land.Jul 12 2022, 4:58 PM
kib added inline comments.
sys/sys/user.h
490

May be '/* no longer returned */' ?

In D35791#812216, @imp wrote:

Question to consider: What are the implications of userspace using it? Hopefully it's just dead code that never gets executed because KVME_TYPE_DEFAULT is never returned to userspace now...

Yeah, I expect it'll just be dead code. For instance, procstat -v simply won't print "df" anymore. At some point those references should be cleaned up too.

alc added inline comments.
sys/sys/user.h
490

Seconded.

markj marked 2 inline comments as done.

Make the comment more specific.

This revision now requires review to proceed.Jul 13 2022, 12:29 AM
This revision is now accepted and ready to land.Jul 13 2022, 6:16 AM