Changeset 06f81c4 in mainline for kernel/generic/include/proc/thread.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/proc/thread.h

    rfbaf6ac r06f81c4  
    132132        bool fpu_context_exists;
    133133
    134         /*
    135          * Defined only if thread doesn't run.
    136          * It means that fpu context is in CPU that last time executes this
    137          * thread. This disables migration.
    138          */
    139         bool fpu_context_engaged;
    140 
    141134        /* The thread will not be migrated if nomigrate is non-zero. */
    142135        unsigned int nomigrate;
Note: See TracChangeset for help on using the changeset viewer.