Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153413651
D26991.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
476 B
Referenced Files
None
Subscribers
None
D26991.diff
View Options
diff --git a/sys/arm64/arm64/vm_machdep.c b/sys/arm64/arm64/vm_machdep.c
--- a/sys/arm64/arm64/vm_machdep.c
+++ b/sys/arm64/arm64/vm_machdep.c
@@ -143,12 +143,14 @@
frame = td->td_frame;
- switch (error) {
- case 0:
+ if (__predict_true(error == 0)) {
frame->tf_x[0] = td->td_retval[0];
frame->tf_x[1] = td->td_retval[1];
frame->tf_spsr &= ~PSR_C; /* carry bit */
- break;
+ return;
+ }
+
+ switch (error) {
case ERESTART:
frame->tf_elr -= 4;
break;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 22, 12:53 AM (13 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31897800
Default Alt Text
D26991.diff (476 B)
Attached To
Mode
D26991: Optimize set_syscall_retval for arm64
Attached
Detach File
Event Timeline
Log In to Comment