>
> From: Andy Lutomirski
>
> > + /*
> > +* The caller may be under interrupt disabled condition. Ensure
> > interrupt
> > +* allowance before the memory allocation, which may involve with
> > page faults.
> > +*/
> > + local_irq_enable();
> ... you can't
On Thu, Oct 1, 2020 at 1:42 PM Chang S. Bae wrote:
>
> task->fpu has a buffer to keep the extended register states, but it is not
> expandable at runtime. Introduce runtime methods and new fpu struct fields
> to support the expansion.
>
> fpu->state_mask indicates the saved states per task and
task->fpu has a buffer to keep the extended register states, but it is not
expandable at runtime. Introduce runtime methods and new fpu struct fields
to support the expansion.
fpu->state_mask indicates the saved states per task and fpu->state_ptr
points the dynamically allocated area.
3 matches
Mail list logo