Changeset 06f81c4 in mainline for kernel/generic/include/cpu.h


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/include/cpu.h

    rfbaf6ac r06f81c4  
    9797        cpu_arch_t arch;
    9898
     99#ifdef CONFIG_FPU_LAZY
    99100        IRQ_SPINLOCK_DECLARE(fpu_lock);
    100101        struct thread *fpu_owner;
     102#endif
    101103
    102104        /**
Note: See TracChangeset for help on using the changeset viewer.