Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147763304
D3667.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
693 B
Referenced Files
None
Subscribers
None
D3667.diff
View Options
Index: head/sys/arm64/arm64/exception.S
===================================================================
--- head/sys/arm64/arm64/exception.S
+++ head/sys/arm64/arm64/exception.S
@@ -100,10 +100,11 @@
.macro do_ast
/* Disable interrupts */
mrs x19, daif
+1:
msr daifset, #2
/* Read the current thread flags */
-1: ldr x1, [x18, #PC_CURTHREAD] /* Load curthread */
+ ldr x1, [x18, #PC_CURTHREAD] /* Load curthread */
ldr x2, [x1, #TD_FLAGS]
/* Check if we have either bits set */
@@ -120,9 +121,8 @@
mov x0, sp
bl _C_LABEL(ast)
- /* Disable interrupts */
- mrs x19, daif
- msr daifset, #2
+ /* Re-check for new ast scheduled */
+ b 1b
2:
/* Restore interrupts */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 14, 11:58 AM (1 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29649130
Default Alt Text
D3667.diff (693 B)
Attached To
Mode
D3667: Re-check for ast after ast handler
Attached
Detach File
Event Timeline
Log In to Comment