Page MenuHomeFreeBSD

membarrier(2): implement the MEMBARRIER_CMD_GET_REGISTRATIONS command
ClosedPublic

Authored by kib on Sat, Apr 18, 6:48 PM.
Tags
None
Referenced Files
F153368372: D56507.diff
Mon, Apr 20, 6:24 PM
Unknown Object (File)
Sun, Apr 19, 7:06 PM
Unknown Object (File)
Sun, Apr 19, 5:22 PM
Unknown Object (File)
Sun, Apr 19, 12:25 AM
Unknown Object (File)
Sat, Apr 18, 6:59 PM
Unknown Object (File)
Sat, Apr 18, 6:52 PM

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

kib requested review of this revision.Sat, Apr 18, 6:48 PM

I succesfully tested the current patch with my suggestions along with https://github.com/freebsd/freebsd-src/pull/2147

sys/kern/kern_membarrier.c
124
230

Need to declare int res = 0

234
236
sys/sys/membarrier.h
52

This value collides with MEMBARRIER_CMD_PRIVATE_EXPEDITED_RSEQ below.

kib marked 5 inline comments as done.
kib added a reviewer: markj.

Branko' feedback.

This revision is now accepted and ready to land.Sat, Apr 18, 7:56 PM

I succesfully tested the current patch with my suggestions along with https://github.com/freebsd/freebsd-src/pull/2147

Is there any reason not to turn your test program into something we can run as part of the test suite?

I succesfully tested the current patch with my suggestions along with https://github.com/freebsd/freebsd-src/pull/2147

Is there any reason not to turn your test program into something we can run as part of the test suite?

The test program was generated with the help from Claude Sonnet 4.6. I'd rather write my own test if it were to be included in FreeBSD.