Page MenuHomeFreeBSD

Retire NOTE_PDATAMASK and NOTE_PCTRLMASK.
Needs ReviewPublic

Authored by jhb on Sep 18 2017, 11:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 14, 8:48 PM
Unknown Object (File)
Sat, Sep 20, 6:59 AM
Unknown Object (File)
Wed, Sep 17, 1:00 PM
Unknown Object (File)
Sep 13 2025, 6:33 AM
Unknown Object (File)
Sep 13 2025, 4:21 AM
Unknown Object (File)
Sep 6 2025, 7:58 AM
Unknown Object (File)
Aug 20 2025, 11:24 AM
Unknown Object (File)
Aug 5 2025, 1:15 PM
Subscribers
None

Details

Reviewers
kib
Summary

Process events no longer store pids in the low bits of the hint, so
these masks are no longer correct or necessary.

Test Plan
  • compiled and booted ok in a VM

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 11699
Build 12045: arc lint + arc unit

Event Timeline

kib added inline comments.
sys/kern/kern_event.c
490–491

Be stylish there, if ((kn->kn_sfflags & hint)) != 0)

sys/kern/sys_procdesc.c
478–479

And there.

This revision is now accepted and ready to land.Sep 19 2017, 8:08 AM
This revision now requires review to proceed.Sep 22 2017, 6:04 PM