HomeFreeBSD

FPU init: Do potentially blocking operations before disabling interrupts

Description

FPU init: Do potentially blocking operations before disabling interrupts

In particular, uma_zcreate creates sysctl oids, which locks an sx lock,
which uses IPIs under contention. IPIs tend not to work very well
when interrupts are disabled. Who knew, right?

Reviewed by: cem kib
MFC after: 2 weeks
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D25098

Details

Provenance
vangyzenAuthored on Jun 12 2020, 9:10 PM
Parents
rGf092a3c71c31: So it turns out with the right window scaling you can get the code in all…
Branches
Unknown
Tags
Unknown

Event Timeline