HomeFreeBSD

Call ast when handling irq from userspace, otherwise we could miss

Description

Call ast when handling irq from userspace, otherwise we could miss
reschedule. Right now arm_cpu_intr() does critical_exit() as the last
action, so the impact is not serious.

Remove duplicated interrupt disable in restore_registers macro, when
returning to usermode. The do_ast macro disabled interrupts for us.

Reviewed by: andrew
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3714

Details

Provenance
kibAuthored on
Reviewer
andrew
Differential Revision
D3714: More exception.S changes
Parents
rS288122: Change vm_page_unwire() such that it (1) accepts PQ_NONE as the specified
Branches
Unknown
Tags
Unknown