Page MenuHomeFreeBSD

umtx: Split umtx.h on two counterparts.
ClosedPublic

Authored by dchagin on Jul 20 2021, 7:21 PM.
Tags
None
Referenced Files
F169979926: D31248.id92925.diff
Thu, Sep 3, 4:18 AM
F169777448: D31248.id92531.diff
Wed, Sep 2, 1:10 PM
Unknown Object (File)
Tue, Sep 1, 11:18 PM
Unknown Object (File)
Tue, Sep 1, 10:02 PM
Unknown Object (File)
Tue, Sep 1, 9:57 PM
Unknown Object (File)
Tue, Sep 1, 9:54 PM
Unknown Object (File)
Tue, Sep 1, 9:30 PM
Unknown Object (File)
Sun, Aug 30, 9:29 PM
Subscribers

Details

Summary

To prevent umtx.h polluting by future changes split it on two headers:
umtx.h - ABI header for userspace;
umtxvar.h - the kernel staff.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sys/sys/umtxvar.h
36

Please do not do this. We prefer to not nest includes. Consumer should include sys/umtx.h, then sys/umtxvar.h.

90

While there, fix style. Indent should be +4 spaces for continuation lines.

blank line after { added in the umtx_key_match

This revision is now accepted and ready to land.Jul 20 2021, 10:43 PM
This revision was automatically updated to reflect the committed changes.