Changeset 06f81c4 in mainline for kernel/generic/src/cpu/cpu.c


Ignore:
Timestamp:
2023-04-16T13:00:39Z (8 months ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade
Children:
d8581611, f3dbe27
Parents:
fbaf6ac
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2023-03-28 16:21:30)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2023-04-16 13:00:39)
Message:

Check cpu_t::fpu_owner directly instead of thread_t::fpu_context_engaged

This results in net reduction in locking.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/cpu/cpu.c

    rfbaf6ac r06f81c4  
    8484                        cpus[i].id = i;
    8585
     86#ifdef CONFIG_FPU_LAZY
    8687                        irq_spinlock_initialize(&cpus[i].fpu_lock, "cpus[].fpu_lock");
     88#endif
    8789                        irq_spinlock_initialize(&cpus[i].tlb_lock, "cpus[].tlb_lock");
    8890
Note: See TracChangeset for help on using the changeset viewer.