Page MenuHomeFreeBSD

linux(4): Implement futex_op for arm64.
ClosedPublic

Authored by dchagin on May 9 2022, 7:10 PM.
Tags
None
Referenced Files
F175740019: D35154.id106020.diff
Mon, Oct 12, 10:47 PM
F175738591: D35154.id105817.diff
Mon, Oct 12, 10:29 PM
F175737876: D35154.id105793.diff
Mon, Oct 12, 10:20 PM
Unknown Object (File)
Mon, Oct 12, 10:50 AM
Unknown Object (File)
Sun, Oct 11, 8:34 AM
Unknown Object (File)
Wed, Oct 7, 3:42 AM
Unknown Object (File)
Wed, Oct 7, 12:47 AM
Unknown Object (File)
Fri, Oct 2, 3:34 PM
Subscribers

Details

Summary

It's mostly modeled like a Linux do, but in the D35150 context probably
loop should be extended by the check for pending signals?

Diff Detail

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

Event Timeline

sys/arm64/linux/linux_support.s
61

This gets trashed later.

66

You can't use the first argument to ENTER_USER_ACCESS until after EXIT_USER_ACCESS. It's used to hold the status of the privilege access never flag (can the kernel read/write to userspace memory).

You can use x0-x17 (or the w version) without saving them to the stack.

dchagin added inline comments.
sys/arm64/linux/linux_support.s
61

redundant instruction, deleted

This revision was not accepted when it landed; it landed in state Needs Review.May 15 2022, 5:51 PM
This revision was automatically updated to reflect the committed changes.
dchagin marked an inline comment as done.