Page MenuHomeFreeBSD

linux(4): Implement futex_op for arm64.
ClosedPublic

Authored by dchagin on Mon, May 9, 7:10 PM.

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
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

sys/arm64/linux/linux_support.s
69

This gets trashed later.

74

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
69

redundant instruction, deleted

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